This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [PATCH, Fortran] PR61234: -Wuse-no-only
- From: dominiq at lps dot ens dot fr (Dominique Dhumieres)
- To: fortran at gcc dot gnu dot org
- Cc: gcc-patches at gcc dot gnu dot org, jakub at redhat dot com, joost dot vandevondele at mat dot ethz dot ch
- Date: Sun, 01 Jun 2014 11:07:47 +0200
- Subject: Re: [PATCH, Fortran] PR61234: -Wuse-no-only
- Authentication-results: sourceware.org; auth=none
> 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