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: -fno-automatic option (PR 20592)


IMO recursive functions and variables with the ALLOCATABLE attribute should silently ignore -fno-automatic.

There I disagree. I think the most easy thing is to say "-fno-automatic means blanket SAVE statement in each programming unit". If people don't want to have the nasty effects, then they don't use it.


Of course, I will gladly help to implement the behavior that most people think appopriate ;-) In case your option is chosen, I think we need a function similar to save_all() (in symbol.c) to implement this save_almost_all() ;-)

FX


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