This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/37669] New: ice for legal code with -O2
- From: "dcb314 at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Sep 2008 10:55:48 -0000
- Subject: [Bug c/37669] New: ice for legal code with -O2
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I just tried to compile the Suse Linux package enlightenment-0.16.8.12-15 with
the new gcc version 4.4, snapshot dated 20080926.
gcc said
backgrounds.c: In function 'BackgroundGetUniqueString':
backgrounds.c:75: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Preprocessed source code attached. Flag -O2 required.
==5098== Jump to the invalid address stated on the next line
==5098== at 0x0: ???
==5098== by 0x5D7CCFF: ???
==5098== by 0x73122B: tree_rest_of_compilation (tree-optimize.c:418)
==5098== by 0x8A67F3: cgraph_expand_function (cgraphunit.c:1038)
==5098== by 0x8A85C4: cgraph_optimize (cgraphunit.c:1097)
==5098== by 0x416A92: c_write_global_declarations (c-decl.c:8073)
==5098== by 0x6E28E0: toplev_main (toplev.c:979)
==5098== by 0x52D3435: (below main) (in /lib64/libc-2.8.so)
==5098== Address 0x0 is not stack'd, malloc'd or (recently) free'd
--
Summary: ice for legal code with -O2
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dcb314 at hotmail dot com
GCC host triplet: suse-linux-x86_64
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37669