This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/30973] undetected name conflict: variables may be named like modules



------- Comment #2 from dfranke at gcc dot gnu dot org  2007-02-26 16:54 -------
Tobias, the same happens if the MODULE foo contains anything and the ONLY part
actually lists something. I omitted this to keep the testcase short.

Same problem here:

$> cat foo2.f90
MODULE foo
INTEGER :: x
END MODULE

PROGRAM test_foo
  USE foo, ONLY: x
  INTEGER :: foo
  foo = 1
END PROGRAM


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30973


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]