public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/46368] New: [4.6 Regression] ICE in make_decl_rtl, at varasm.c:1033
@ 2010-11-08 14:47 rguenth at gcc dot gnu.org
  2010-11-08 14:47 ` [Bug middle-end/46368] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-08 14:47 UTC (permalink / raw)
  To: gcc-bugs

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 <http://bugs.opensuse.org/> 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 <http://gcc.gnu.org/bugs.html> for instructions.

(gdb) call debug_tree (decl)
 <var_decl 0x7ffff134a5a0 D.204121
    type <record_type 0x7ffff0123c78 YCPNull type_5 QI
        size <integer_cst 0x7ffff7ed34b0 constant 8>
        unit size <integer_cst 0x7ffff7ed34d8 constant 1>
        align 8 symtab 0 alias set -1 canonical type 0x7ffff0123c78
        fields <type_decl 0x7ffff0109508 YCPNull type <record_type
0x7ffff0123d20 YCPNull>
            nonlocal decl_4 VOID file /usr/include/YaST2/ycp/YCPElement.h line
124 col 15
            align 1 context <record_type 0x7ffff0123c78 YCPNull> result
<record_type 0x7ffff0123c78 YCPNull>
           > context <translation_unit_decl 0x7ffff7edf958 D.1>
        full-name "class YCPNull"
        X() X(constX&) this=(X&) n_parents=0 use_template=0 interface-unknown
        pointer_to_this <pointer_type 0x7ffff02f4bd0> reference_to_this
<reference_type 0x7ffff02ed150> chain <type_decl 0x7ffff0111cf0 YCPNull>>
    addressable ignored QI file /usr/include/YaST2/ycp/YCPValue.h line 288 col
75 size <integer_cst 0x7ffff7ed34b0 8> unit size <integer_cst 0x7ffff7ed34d8 1>
    align 8 context <function_decl 0x7fffeec4e700 PkgCommit> chain <var_decl
0x7fffee3b2a00 D.230722>>

(gdb) call debug_gimple_stmt (stmt)
D.266801_72 = &D.204121;


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-11-10 23:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-08 14:47 [Bug middle-end/46368] New: [4.6 Regression] ICE in make_decl_rtl, at varasm.c:1033 rguenth at gcc dot gnu.org
2010-11-08 14:47 ` [Bug middle-end/46368] " rguenth at gcc dot gnu.org
2010-11-08 15:27 ` jakub at gcc dot gnu.org
2010-11-08 17:53 ` jakub at gcc dot gnu.org
2010-11-09 11:47 ` jakub at gcc dot gnu.org
2010-11-09 13:30 ` [Bug c++/46368] " hjl.tools at gmail dot com
2010-11-09 14:40 ` jason at gcc dot gnu.org
2010-11-10 23:34 ` jakub at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).