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

Dominique Dhumieres dominiq@lps.ens.fr
Sun Jun 1 09:07:00 GMT 2014


> I think it is really weird if a coding style warning is included in -Wall.

I fully agree. In top of that the patch looks like a blind enforcement of this
coding style.

What is the rationale of

+  SUBROUTINE S2
+     USE foo, ONLY: bar ! { dg-bogus "has no ONLY qualifier" }
+  END SUBROUTINE

?

Cheers,

Dominique



More information about the Fortran mailing list