[Bug tree-optimization/56688] Fortran save statement prevents loop vectorization.

Joost.VandeVondele at mat dot ethz.ch gcc-bugzilla@gcc.gnu.org
Fri Mar 22 14:16:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56688

Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Joost.VandeVondele at mat
                   |                            |dot ethz.ch

--- Comment #3 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> 2013-03-22 14:16:47 UTC ---
(In reply to comment #1)
> because it appears that 'save' makes all variables global ones.  

But this is maybe a frontend issue ? The visibility of x is local to the this
subroutine, but its lifetime extends over the entire run (so different to your
variable z in the C testcase).



More information about the Gcc-bugs mailing list