[PATCH, Fortran] PR61234: -Wuse-no-only

Dominique Dhumieres dominiq@lps.ens.fr
Tue Jun 10 10:09:00 GMT 2014


> This explicitly tests that no bogus error message is issued
> for a use statement that has an only qualifier ?

I don't see the need for '! { dg-bogus "has no ONLY qualifier" }'.
AFAICT there is no warning emitted for this line (unless you add -Wall)
and if some day it happens that an error/warning is issued, the test will fail.

Otherwise the new patch is OK for me.

Cheers,

Dominique



More information about the Gcc-patches mailing list