[Bug tree-optimization/84562] -faggressive-loop-optimizations makes decisions based on weak data structures

2018-02-28 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84562 --- Comment #8 from rguenther at suse dot de --- On February 28, 2018 6:44:43 PM GMT+01:00, "jnordholz at sect dot tu-berlin.de" wrote: >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84562 > >--- Comment #7 from Jan

[Bug tree-optimization/84562] -faggressive-loop-optimizations makes decisions based on weak data structures

2018-02-28 Thread jnordholz at sect dot tu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84562 --- Comment #7 from Jan Nordholz --- (In reply to Richard Biener from comment #5) > 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

[Bug tree-optimization/84562] -faggressive-loop-optimizations makes decisions based on weak data structures

2018-02-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84562 --- Comment #6 from Richard Biener --- (In reply to Alexander Monakov from comment #3) > It's not just -faggressive-loop-optimizations, it seems that constructors of > weak globals are available for folding, and I really doubt that's actually >

[Bug tree-optimization/84562] -faggressive-loop-optimizations makes decisions based on weak data structures

2018-02-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84562 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/84562] -faggressive-loop-optimizations makes decisions based on weak data structures

2018-02-27 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84562 --- Comment #4 from rguenther at suse dot de --- On Tue, 27 Feb 2018, jnordholz at sect dot tu-berlin.de wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84562 > > Jan Nordholz changed: > >What|Removed

[Bug tree-optimization/84562] -faggressive-loop-optimizations makes decisions based on weak data structures

2018-02-27 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84562 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org ---

[Bug tree-optimization/84562] -faggressive-loop-optimizations makes decisions based on weak data structures

2018-02-27 Thread jnordholz at sect dot tu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84562 Jan Nordholz changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID

[Bug tree-optimization/84562] -faggressive-loop-optimizations makes decisions based on weak data structures

2018-02-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84562 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|