This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, Fortran] PR61234: -Wuse-no-only
- From: dominiq at lps dot ens dot fr (Dominique Dhumieres)
- To: joost dot vandevondele at mat dot ethz dot ch, fortran at gcc dot gnu dot org, dominiq at lps dot ens dot fr
- Cc: jakub at redhat dot com, gcc-patches at gcc dot gnu dot org
- Date: Tue, 10 Jun 2014 12:09:04 +0200
- Subject: Re: [PATCH, Fortran] PR61234: -Wuse-no-only
- Authentication-results: sourceware.org; auth=none
- References: <20140601090747 dot 742D4105 at mailhost dot lps dot ens dot fr> <908103EDB4893A42920B21D3568BFD930CC55D7D at MBX23 dot d dot ethz dot ch>
> 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