[Bug middle-end/31892] optimization: Loop not optimized away because of static
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31892 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #2 from Tobias Burnus --- In the meanwhile FIXED: Now also fast with GCC 7 + -O1 (and with -O2 all traces of the array are removed).
[Bug middle-end/31892] optimization: Loop not optimized away because of static
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31892 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2012-02-01 Summary|optimization: Loop not |optimization: Loop not |optimized away |optimized away because of ||static Ever Confirmed|0 |1 --- Comment #1 from Andrew Pinski 2012-02-01 20:17:47 UTC --- Confirmed, the issue is the fortran front-end promotes A to being static. Maybe we should just add code to the middle-end that does that.