http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46055
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2010.10.18 09:55:04 Ever Confirmed|0 |1 --- Comment #7 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-10-18 09:55:04 UTC --- autoconf should disable optimization for all this kind of tests (thus, append -O0 to CFLAGS). The issue is caused by -fwhole-program btw, not by -fwhopr. If it happens with -fwhopr only then sth is wrong in GCC.