This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/84562] -faggressive-loop-optimizations makes decisions based on weak data structures
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 28 Feb 2018 11:28:58 +0000
- Subject: [Bug tree-optimization/84562] -faggressive-loop-optimizations makes decisions based on weak data structures
- Auto-submitted: auto-generated
- References: <bug-84562-4@http.gcc.gnu.org/bugzilla/>
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.