This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/25062] same name for parameter and common block
- From: "tobi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jan 2006 00:18:17 -0000
- Subject: [Bug fortran/25062] same name for parameter and common block
- References: <bug-25062-6642@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from tobi at gcc dot gnu dot org 2006-01-12 00:18 -------
I'm setting this to waiting until someone quotes something from the standard.
Fortran has its quirks, but disallowing this special case would break the
distintion between the names of commons and those of other named objects, which
is otherwise maintained, so I'm sure this is valid code. But since being sure
is not sufficient, I also checked the standard and I couldn't find anything
disallowing this case.
--
tobi at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25062