http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53743
--- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-06-21 09:47:20 UTC --- Confirmed on input1 with > /space/rguenther/install/gcc-4.7.1/bin/g++ -c t.ii > -freorder-blocks-and-partition -fno-exceptions -std=gnu++0x -fprofile-use > -fprofile-correction -O2 -m32 removing -freorder-blocks-and-partition causes the bug to vanish.