From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28738 invoked by alias); 28 Dec 2012 19:53:47 -0000 Received: (qmail 28706 invoked by uid 48); 28 Dec 2012 19:53:32 -0000 From: "nevin at eviloverlord dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/55826] New: -ftime-report causes internal compiler error with Boost.Asio Date: Fri, 28 Dec 2012 19:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nevin at eviloverlord dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-12/txt/msg02402.txt.bz2 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: unassigned@gcc.gnu.org ReportedBy: nevin@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 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.