After merging in the assert from 150592 there is a new ICE on the lto branch.
$ ./xgcc -B. -v Reading specs from ./specs COLLECT_GCC=./xgcc COLLECT_LTO_WRAPPER=./lto-wrapper Target: arm-unknown-linux-gnueabi Configured with: ../configure --target=arm-unknown-linux-gnueabi --prefix=/home/ryan/x-tools/arm-unknown-linux-gnueabi --with-sysroot=/home/ryan/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi//sys-root --enable-languages=c,c++ --disable-multilib --with-float=soft --with-gmp=/home/ryan/x-tools/arm-unknown-linux-gnueabi --with-mpfr=/home/ryan/x-tools/arm-unknown-linux-gnueabi --disable-sjlj-exceptions --enable-__cxa_atexit --with-local-prefix=/home/ryan/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sys-root --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-c99 --enable-long-long --enable-target-optspace Thread model: posix gcc version 4.5.0 20090824 (experimental) [lto revision 151057] (lto merged with rev 150842) $ ./xgcc -B. -c -O -fpic ~/ice.i -flto $ ./xgcc -B. -flto ice.o -shared In file included from :0:0: /home/ryan/ice.i: In function 'acos': /home/ryan/ice.i:660:9: internal compiler error: in insert_value_copy_on_edge, at tree-outof-ssa.c:225 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. lto-wrapper: ././xgcc returned 1 exit status collect2: lto-wrapper returned 1 exit status -- Summary: [LTO] ICE in insert_value_copy_on_edge, at tree-outof- ssa.c:225 Product: gcc Version: 4.5.0 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: arm-unknown-linux-gnueabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41159