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: "VandeVondele Joost" <joost dot vandevondele at mat dot ethz dot ch>
- To: Dominique Dhumieres <dominiq at lps dot ens dot fr>, "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>
- Cc: "jakub at redhat dot com" <jakub at redhat dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 30 Jul 2014 14:20:23 +0000
- 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>,<20140610100904 dot 7233E105 at mailhost dot lps dot ens dot fr>
>> 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.
if so, could the patch be applied by somebody with svn write permission (with or without the dg-bogus), fsf assignment is now OK.
Joost