------- Comment #1 from anlauf at gmx dot de 2009-12-23 22:31 ------- (In reply to comment #0)
Funny, ifort 11.1, xlf 12.1.0.5 and Sunstudio 12.1 accept the code, but nagfor 5.2 rejects it with: NAG Fortran Compiler Release 5.2(686) Warning: prog.f90, line 23: Unused dummy variable X detected at SUB@<end-of-statement> Warning: prog.f90, line 34: Unused dummy variable I detected at SUB_INT@<end-of-statement> Error: prog.f90, line 40: Symbol SUB found both in module MOD1 and in MOD2 detected at c...@sub [NAG Fortran Compiler pass 1 error termination, 1 error, 2 warnings] -- anlauf at gmx dot de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anlauf at gmx dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42481