-fno-automatic option (PR 20592)

François-Xavier Coudert fxcoudert@gmail.com
Wed Aug 31 22:59:00 GMT 2005


> 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



More information about the Fortran mailing list