This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, fortran] PR63744 accept duplicate use-rename
- From: Mikael Morin <mikael dot morin at sfr dot fr>
- To: Dominique Dhumieres <dominiq at lps dot ens dot fr>
- Cc: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org, paul dot richard dot thomas at gmail dot com
- Date: Sun, 08 Feb 2015 16:26:42 +0100
- Subject: Re: [Patch, fortran] PR63744 accept duplicate use-rename
- Authentication-results: sourceware.org; auth=none
- Authentication-results: sfrmc.priv.atos.fr; dkim=none (no signature); dkim-adsp=none (no policy) header dot from=mikael dot morin at sfr dot fr
- References: <20150207134006 dot E6AE0105 at mailhost dot lps dot ens dot fr>
Le 07/02/2015 14:40, Dominique Dhumieres a écrit :
> Dear Mikael,
>
> Even if
>
>>> use m, only: A => X
>>> use m, only: A => X
>
> is valid, it does not make sense to use it and it is probably a typo.
> Should not gfortran emit a warning, at least with -Wall?
>
Yeah, why not?
I think we have to defer it to stage1 though.
I'll open a PR.
Mikael