$ cat t.c int t() __attribute__ ((optimize("O1"))); int t() { }
$ ./xgcc -v Using built-in specs. COLLECT_GCC=./xgcc Target: i686-pc-linux-gnu Configured with: ../configure --enable-languages=c++ --enable-lto --disable-bootstrap Thread model: posix gcc version 4.5.0 20090914 (experimental) [lto revision 151812] (lto merged with rev 150842) $ ./xgcc -B. -flto t.c t.c:3:1: internal compiler error: in lto_output_tree_pointers, at lto-streamer-out.c:1285 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. -- Summary: [LTO] ICE in lto_output_tree_pointers, at lto-streamer- out.c:1285 Product: gcc Version: lto Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rmansfield at qnx dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41390