Hi Steve,
The patch did last from gcc-4.2, apparently without anybody detecting
a problem :-)
Anyway, the patch looks good to me too. Thanks for getting to it so fast, FX.
Cheers
Paul
On 4 June 2015 at 10:24, FX wrote:
>
>> 2015-06-03 Russell Whitesides
>>Steven G. Kargl
>>
>>
> 2015-06-03 Russell Whitesides
>Steven G. Kargl
>
>PR fortran/40958
>PR fortran/60780
>PR fortran/66377
>* module.c (load_equiv): Add check for loading duplicate EQUIVALENCEs
>from different modules. Eliminate the pruning of unused
>equivalence-objects
>
>
The attach patch fixes two issues with EQUIVALENCE statements
in modules.
The first issue was fixed by Russell Whitesides where an
EQUIVALENCE statement that is USEs associated into multiple
modules will appear multiple times in a new module if the
previous modules are USEd by the new module. Rus