[cxx-abi-dev] Mangling of anonymous unions?

Jason Merrill jason at redhat.com
Wed Dec 18 23:48:02 UTC 2002


On Wed, 18 Dec 2002 15:32:04 -0800, Kerch Holt <kerch at cup.hp.com> wrote:

> Wouldn't you need some type of factoring of all the members of the union
> (instead of first/last) to avoid collisions (of similar unions in the
> same inline)?

I'm not sure what you mean.  You would mangle it like any other local
variable; if there are more than one with the same name, you need to use a
discriminator to distinguish between them.  The only question is which name
to use.

Jason



More information about the cxx-abi-dev mailing list