This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/50490] New: ICE when compiling libglib2.0 with LTO
- From: "matt at use dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 22 Sep 2011 22:17:00 +0000
- Subject: [Bug lto/50490] New: ICE when compiling libglib2.0 with LTO
- Auto-submitted: auto-generated
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.