[PATCH] Fix EQUIVALENCE vs. SAVE (PR fortran/18518)

Brooks Moses bmoses@stanford.edu
Thu Sep 29 18:07:00 GMT 2005


Richard E Maine wrote:
> For reinforcement, note the penultimate para of 2.5.6 in f2003
> 
>     "The appearance of a data object designator...in an actual argument 
> list does not constitute a reference to that data object... unless such 
> a reference is necessary to complete the specification of the actual 
> argument."
> 
> The "unless" bit doesn't apply here. That's for... um.... I'm having 
> trouble recalling or coming up with an example right at the moment 
> (because coffee not finished?) ... but anyway, it's not this case.

Would it be applying to things like an assumed-shape arrays, where the 
actual argument needs to be referenced to determine the size of the 
dummy argument (at least if the actual argument is allocatable)?

- Brooks



More information about the Fortran mailing list