Re: [Patch, Fortran] PR51578 Fix symbol import with renaming and only

2012-01-09 Thread Janne Blomqvist
On Mon, Jan 9, 2012 at 12:02, Tobias Burnus wrote: > Dear all, > > this email contains a updated patch, which replaces the FIXME by an > implementation. See below. > > > Dear Dominique, > > > On 01/08/2012 11:13 PM, Dominique Dhumieres wrote: >> >> Your patch passed my tests and in top of that fix

Re: [Patch, Fortran] PR51578 Fix symbol import with renaming and only

2012-01-09 Thread Tobias Burnus
Dear all, this email contains a updated patch, which replaces the FIXME by an implementation. See below. Dear Dominique, On 01/08/2012 11:13 PM, Dominique Dhumieres wrote: Your patch passed my tests and in top of that fixes the ICE for pr51522.f90. :-) However I don't understand the erro

Re: [Patch, Fortran] PR51578 Fix symbol import with renaming and only

2012-01-08 Thread Dominique Dhumieres
Hi Tobias, Your patch passed my tests and in top of that fixes the ICE for pr51522.f90. However I don't understand the errors: [macbook] f90/bug% gfc -w pr51522.f90 pr51522.f90:268.10: integer(c_int) function vect_Utils_vuTriIneqHolds_c(u, v, tol, exception)& 1 Error: Parameter '

[Patch, Fortran] PR51578 Fix symbol import with renaming and only

2012-01-08 Thread Tobias Burnus
Hi all, gfortran mishandles the module import, if one uses multiple USE statements and rename/only. This part got "broken" when the following has been implemented: "More than one USE statement for a given module may appear in a specification part. If one of the USE statements is without an O