http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49279
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |4.6.2, 4.7.0
Summary|[4.5/4.6/4.7 Regression] |[4.5 Regression]
|Optimization incorrectly |Optimization incorrectly
|presuming constant variable |presuming constant variable
|inside loop in g++ 4.5 and |inside loop in g++ 4.5 and
|4.6 with -O2 and -O3 for |4.6 with -O2 and -O3 for
|x86_64 targets |x86_64 targets
Known to fail|4.7.0 |
--- Comment #17 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-07
08:15:09 UTC ---
Sofar fixed on trunk and the 4.6 branch.