http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31892
Andrew Pinski <pinskia at gcc dot gnu.org> 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 <pinskia at gcc dot gnu.org> 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.