This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [fortran] Set TREE_STATIC flag on static initializers


Jan Hubicka wrote:
fortran, unlike all other frontends, does not set TREE_STATIC flag on static
initializers.  This prevents us from folding till the cfgexpand time.  To be honest,
I am not quite sure why we insist on the flag (I guess we should assert that all statics
are initializerd with static initializer or ignore it), but this patch brings gfortran
into sync with others.

Bootstrapped/regtested x86_64-linux, OK?

OK. Thanks for the patch.


Tobias

PS: It helps to CC fortran@ for Fortran patches; sending them only to gcc-patches@ reduces the chance of getting them reviewed.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]