[Patch][Fortran] Fix name conflict check for use-assoc (PR 92736)
Tobias Burnus
tobias@codesourcery.com
Wed Apr 8 10:44:11 GMT 2020
Hi all,
this issue only occurs when use associating a symbol in a module
and then again use-associating the same symbol in its submodule.
If one simply uses
use m, only: i
use m, only: i
the issue does not occur as all symbols are only created after
parsing all use statements.
And for
use m, only: i
contains
subroutine sub()
use m, only: i
one has different gfc_namespaces such that they cannot conflict.
This is a GCC 9 + mainline/10 regression, hence:
OK for those two branches?
Tobias
-----------------
Mentor Graphics (Deutschland) GmbH, Arnulfstraße 201, 80634 München / Germany
Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Alexander Walter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mod-rename.diff
Type: text/x-patch
Size: 4680 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200408/005940b0/attachment.bin>
More information about the Gcc-patches
mailing list