$ cat ~/hw.c int main() { printf("hello world\n"); }
r...@ryan:~/gcc/lto-branch/x86-build/gcc$ ./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 20090706 (experimental) [lto revision 149615] (lto merged with rev 149291) r...@ryan:~/gcc/lto-branch/x86-build/gcc$ ./xgcc -B. ~/hw.c -flto /home/ryan/hw.c: In function âmainâ: /home/ryan/hw.c:3:3: warning: incompatible implicit declaration of built-in function âprintfâ /home/ryan/hw.c:4:1: internal compiler error: in bp_pack_value, at lto-streamer.c:336 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. -- Summary: [LTO] ICE in bp_pack_value, at lto-streamer.c:336 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=40739