Empty static constructor folding

Andrew Pinski pinskia@gmail.com
Mon Sep 13 20:38:00 GMT 2010


On Mon, Sep 13, 2010 at 12:55 PM, Jan Hubicka <hubicka@ucw.cz> wrote:
> It seems that those testcases just need some obstructation to avoid folding.  I wonder how I make varianble public in fortran?

The easy way is to put the variables in a module and then do a "use
module".  Right now the variables in the program are really local to
the function (either auto or static depending on the size of the array
in this case they are huge so they are static).

Thanks,
Andrew Pinski



More information about the Gcc-patches mailing list