From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18401 invoked by alias); 12 Apr 2012 19:17:00 -0000 Received: (qmail 18388 invoked by uid 22791); 12 Apr 2012 19:16:59 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 12 Apr 2012 19:16:47 +0000 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/46400] g++ Segmentation Fault on heavily templated project. Date: Thu, 12 Apr 2012 19:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-04/txt/msg00900.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46400 --- Comment #13 from Peter Bergner 2012-04-12 19:16:16 UTC --- Created attachment 27145 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27145 Test case from EMAN2 Here's yet another test case that fails (on powerpc64-linux) and is fixed on mainline with Jakub's patch. However, we encountered this using GCC 4.6. Jakub, is it possible to backport your patch to FSF 4.6? I looked at backporting the patch myself, but I'm not really sure what all that GC magic macro stuff is doing to feel confident in backporting it myself. bergner@bns:~/gcc/BUGS> /home/bergner/gcc/install/gcc-fsf-mainline-r175389/bin/g++ -m64 -mcpu=power7 -O0 -ffast-math -fPIC -S libpyEMData2.ii bergner@bns:~/gcc/BUGS> echo $? 0 bergner@bns:~/gcc/BUGS> /home/bergner/gcc/install/gcc-fsf-mainline-r175388/bin/g++ -m64 -mcpu=power7 -O0 -ffast-math -fPIC -S libpyEMData2.ii g++: internal compiler error: Segmentation fault (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See for instructions.