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: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, "jakub at redhat dot com" <jakub at redhat dot com>
- Date: Mon, 2 Jun 2014 05:48:16 +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>
> What is the rationale of
>
> + SUBROUTINE S2
> + USE foo, ONLY: bar ! { dg-bogus "has no ONLY qualifier" }
> + END SUBROUTINE
This explicitly tests that no bogus error message is issued for a use statement that has an only qualifier ?