[Bug lto/50490] New: ICE when compiling libglib2.0 with LTO
matt at use dot net
gcc-bugzilla@gcc.gnu.org
Thu Sep 22 22:34:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50490
Bug #: 50490
Summary: ICE when compiling libglib2.0 with LTO
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: lto
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: matt@use.net
Created attachment 25345
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25345
pre-processed source of the file that triggers the ICE
with trunk revision 178863:
"
gcc -O2 -flto -c mem-overflow.i
/home/matt/src/glib2.0-2.29.92/./glib/tests/mem-overflow.c:137:1: internal
compiler error: tree code 'optimization_node' is not supported in LTO streams
"
changing the -O2 to -O1 eliminates the ICE. valgrind shows nothing out of the
ordinary.
pre-processed file mentioned in the commandline above is attached.
More information about the Gcc-bugs
mailing list