https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63514
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2014-10-13 Ever confirmed|0 |1 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- The fortran frontend must do sth wrong here - it seems to mark the function pure itself and either fold or the FE even does the optimization (look at the .original dump).