Hi Paul,

Am 16.07.24 um 18:35 schrieb Paul Richard Thomas:
In answer to some of your latest points:


Can we prevent the export of this artificial symbol?


The export of this symbol is needed for interface mapping. Without it, the
original bug would reappear. If such len_trim calls are made outside of
specification expressions, the symbols are not exported as you verify with
either the parse tree dump or direct inspection of the module files from
the testcases.

I was under the impression that an interface that is not visible
at the top level of the module does not need to be exported.
And a contained procedure would satisfy that, or doesn't it?

The ICE I saw is actually a pre-existing issue reported by Gerhard:

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

Cheers,
Harald

Reply via email to