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 #1 from burnus at gcc dot gnu dot org  2007-02-26 16:47 -------
I checked: "  USE foo, ONLY:" is syntactically correct.

The problem is that "only_flag = 1;" and no symbol is in the only-list.

I think one needs to modify module.c's "read_module", but I fail quickly to see
were the symbol "foo" is not added/deleted from the symbol tree.

All other compilers I tried (g95,ifort,nagf95,sunf95) gave an error.


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |accepts-invalid
   Last reconfirmed|0000-00-00 00:00:00         |2007-02-26 16:47:56
               date|                            |


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]