Re: [Patch, fortran] PR63744 accept duplicate use-rename

2015-02-08 Thread Mikael Morin
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 ha

Re: [Patch, fortran] PR63744 accept duplicate use-rename

2015-02-07 Thread Dominique Dhumieres
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? Cheers, Dominique

Re: [Patch, fortran] PR63744 accept duplicate use-rename

2015-02-07 Thread Paul Richard Thomas
Dear Mikael, It looks good to me for trunk and the branches. Thanks for the patch Paul On 6 February 2015 at 21:31, Mikael Morin wrote: > Hello, > > we currently reject programs of the form >> >> module m >> integer :: s >> end module m >> subroutine s >> use m, only: x => s, x => s >>