[Bug fortran/63744] [4.8/4.9/5 Regression] Duplicate use-statement causes error

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Sat Nov 15 16:14:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63744

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Can you quote the standard which permits this? My feeling is that the code
> is invalid, but I have to admit that it is only a feeling.

How do you read the following?

> 11.2.2 The USE statement and use association
> ...
> R1111 rename is local-name => use-name
> ...
> NOTE 11.9
> There is no prohibition against a use-name or use-defined-operator appearing
> multiple times in one USE statement or in multiple USE statements involving
> the same module. As a result, it is possible for one use-associated entity
> to be accessible by more than one local identier.



More information about the Gcc-bugs mailing list