http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54795
--- Comment #14 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-11-21 21:52:26 UTC --- LTO gets miscompiled. If I configure with: ~/gcc/configure --disable-bootstrap --disable-werror --disable-multilib --enable-languages=c,c++ --enable-checking=yes,valgrind and build with gcc-4.7, then the bad memory access in LTO vanishes. This could be a dup of Bug 55430 (LRA miscompilation issue).