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/47136] local identiïer shall not be the same as a global identiïer


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.


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