This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/47136] local identiïer shall not be the same as a global identiïer
- From: "janus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 2 Jan 2011 15:24:18 +0000
- Subject: [Bug fortran/47136] local identiïer shall not be the same as a global identiïer
- Auto-submitted: auto-generated
- References: <bug-47136-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47136
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[OOP] possible name |local identiïer shall not
|resolution problems between |be the same as a global
|MODULE and INTERFACE? |identiïer
--- Comment #8 from janus at gcc dot gnu.org 2011-01-02 15:24:10 UTC ---
(In reply to comment #7)
> (In reply to comment #6)
> > Within the scope of module "a" everything is fine, since the module "s" is not
> > used. Within the scope of module "s", however, the subroutine "s" is a local
> > identifier (by means of use association) and conflicts with the global
> > identifier of module "s" itself. Right?
>
> By this reasoning the PR is actually of the type "accepts-invalid" and not
> "rejects-valid".
... and unrelated to OOP.