http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55826



             Bug #: 55826

           Summary: -ftime-report causes internal compiler error with

                    Boost.Asio

    Classification: Unclassified

           Product: gcc

           Version: 4.7.2

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: c++

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: ne...@eviloverlord.com





Created attachment 29059

  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29059

Original source file



Compiling the following test program (using Boost 1.52):



#include <boost/asio/ip/tcp.hpp>



void CrashTimeReport()

{



    boost::asio::ip::tcp::resolver::iterator it;

    *it;    // crashes

}





with



g++-4.7 -v -ftime-report -std=c++0x -save-temps Dns.cpp





/site/apps/gcc-4.7.2-drw.patched.6/lib/gcc/x86_64-linux-gnu/4.7.2/../../../../include/c++/4.7.2/bits/alloc_traits.h:48:11:

internal compiler error: in timevar_start, at timevar.c:344





The full output and preprocessed source file is attached.

Reply via email to