From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6973 invoked by alias); 16 Nov 2011 07:18:40 -0000 Received: (qmail 6953 invoked by uid 22791); 16 Nov 2011 07:18:38 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 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; Wed, 16 Nov 2011 07:17:45 +0000 From: "cas43 at cs dot stanford.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/51154] New: internal compiler error: gimplification failed Date: Wed, 16 Nov 2011 07:29: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: cas43 at cs dot stanford.edu 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" Content-Transfer-Encoding: quoted-printable 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: 2011-11/txt/msg01602.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D51154 Bug #: 51154 Summary: internal compiler error: gimplification failed Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned@gcc.gnu.org ReportedBy: cas43@cs.stanford.edu Created attachment 25833 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=3D25833 Program that cuases g++ to ICE. How to reproduce: g++ -c prog.cpp DIAGNOSTIC: gimplification failed: <<< Unknown tree: using_decl >>> unit size align 32 symtab 0 alias set -1 canonical type 0x7f3d605e7d20 fields nonlocal decl_3 SI file prog.cpp line 5 col 9 size unit size align 32 offset_align 128 offset bit offset context chain > context full-name "ARRAY >::BASE" X() X(constX&) this=3D(X&) n_parents=3D0 use_template=3D1 interface= -unknown pointer_to_this reference_to_this chain > ignored VOID file prog.cpp line 16 col 17 align 1 context initial chain > prog.cpp: In member function =E2=80=98void ARRAY >::Resize()= [with T =3D float]=E2=80=99: prog.cpp:17:20: internal compiler error: gimplification failed Please submit a full bug report, with preprocessed source if appropriate. See for instructions. COMPILER VERSION: Using built-in specs. COLLECT_GCC=3D/home/cas43/new-gcc/inst/bin/g++ COLLECT_LTO_WRAPPER=3D/home/cas43/new-gcc/inst/libexec/gcc/x86_64-unknown-l= inux-gnu/4.7.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../current-gcc/configure --prefix=3D/home/cas43/new-gcc/in= st Thread model: posix gcc version 4.7.0 20111116 (experimental) (GCC)