*ping* Re: [Patch][Fortran] Fix name conflict check for use-assoc (PR 92736)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

*ping* Re: [Patch][Fortran] Fix name conflict check for use-assoc (PR 92736)

Tobias Burnus-3
*ping*

On 4/8/20 12:44 PM, Tobias Burnus wrote:

> 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
Reply | Threaded
Open this post in threaded view
|

Re: *ping* Re: [Patch][Fortran] Fix name conflict check for use-assoc (PR 92736)

gcc - fortran mailing list
Hi Tobias,

> *ping*

OK. Thanks for the patch!

Regards

        Thomas