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

--- Comment #4 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Iain Sandoe from comment #3)
> (In reply to Jakub Jelinek from comment #1)
> > Created attachment 64494 [details]
> > gcc17-pr125376.patch

> 
> > the %s_%u_%u certainly is not in implementation namespace, one can have a
> 
> Hmm.. that looks like a messed up change; the xxx_n_m style of name used to
> be prefixed by '__' to ensure it was in the implementation. namespace.

Regrdless of the missing '__' (which I will fix) I am not sure how a
user-authored variable can conflict.

If the user writes "a_1_2" .. that will be mangled into a frame name of
"a_1_2_N_M" where N and M refer to a unique combination of bind nesting depth
and a counter.

There are no user-authored variables at the outer level (the one that does
_not_ get a mangling) since that level is compiler-generated.

Reply via email to