*Ping* [PR fortran/88299, patch] - [F18] COMMON in a legacy module produces bogus warnings in dependent code

Thomas Koenig tkoenig@netcologne.de
Sun Feb 17 20:40:00 GMT 2019


Hi Harald,

> Ping!

> On 02/11/19 23:09, Harald Anlauf wrote:
>> The attached patch moves the check for this F2018 obsolescent feature
>> to a better place where the warning is only emitted when the COMMON is
>> declared.  No warning should be emitted when such a legacy module is
>> simply used.
>>
>> Regtested on x86_64-pc-linux-gnu.
>>
>> OK for trunk?


OK.

Thanks for the patch!

Regards

	Thomas



More information about the Gcc-patches mailing list