From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29227 invoked by alias); 8 Nov 2010 14:47:18 -0000 Received: (qmail 29216 invoked by uid 22791); 8 Nov 2010 14:47:18 -0000 X-SWARE-Spam-Status: No, hits=-2.8 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; Mon, 08 Nov 2010 14:47:14 +0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/46368] New: [4.6 Regression] ICE in make_decl_rtl, at varasm.c:1033 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org 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 Date: Mon, 08 Nov 2010 14:47:00 -0000 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: 2010-11/txt/msg00946.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46368 Summary: [4.6 Regression] ICE in make_decl_rtl, at varasm.c:1033 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned@gcc.gnu.org ReportedBy: rguenth@gcc.gnu.org Target: i?86-*-linux Created attachment 22324 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22324 preprocessed source The package yast2-pkg-bindings fails to build with g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/YaST2 -DY2LOG=\"Pkg\" -DSUSEVERSION=\"\" -DLOCALEDIR=\"/usr/share/YaST2/locale\" -fno-inline -Woverloaded-virtual -DZYPP_BASE_LOGGER_LOGGROUP=\"Pkg\" -fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DNDEBUG -std=gnu++0x -DHAVE_CXX0X -Wall -Wformat=2 -MT Package.lo -MD -MP -MF .deps/Package.Tpo -c Package.cc -fPIC -DPIC -o .libs/Package.o Package.cc: In member function 'YCPValue PkgFunctions::GetPackages(const YCPSymbol&, const YCPBoolean&)': Package.cc:1489:58: internal compiler error: in make_decl_rtl, at varasm.c:1033 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. where the preprocessed source shows plain -O0 is enough to trigger the bug: > ./cc1plus -quiet ~/Package.ii -o /dev/null -m32 -std=gnu++0x Package.cc: In member function 'YCPValue PkgFunctions::GetPackages(const YCPSymbol&, const YCPBoolean&)': Package.cc:1489:58: internal compiler error: in make_decl_rtl, at varasm.c:1033 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. (gdb) call debug_tree (decl) unit size align 8 symtab 0 alias set -1 canonical type 0x7ffff0123c78 fields nonlocal decl_4 VOID file /usr/include/YaST2/ycp/YCPElement.h line 124 col 15 align 1 context result > context full-name "class YCPNull" X() X(constX&) this=(X&) n_parents=0 use_template=0 interface-unknown pointer_to_this reference_to_this chain > addressable ignored QI file /usr/include/YaST2/ycp/YCPValue.h line 288 col 75 size unit size align 8 context chain > (gdb) call debug_gimple_stmt (stmt) D.266801_72 = &D.204121;