[Bug tree-optimization/84562] -faggressive-loop-optimizations makes decisions based on weak data structures
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 28 11:31:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84562
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
Known to fail| |2.95.2, 3.4.6, 7.2.1
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Btw, the behavior is the way you describe since forever. That GCC looks at
the constant initializer for the array is just a direct consequence of it
looking at the constant initializer of the scalar.
clang does the same, so does ICC.
So I think I'll stay with INVALID here.
More information about the Gcc-bugs
mailing list