Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: kerch@xxxxxxxxxx
  • Subject: Re: [cxx-abi-dev] Mangling of anonymous unions?
  • From: Jason Merrill <jason@xxxxxxxxxx>
  • Date: Wed, 18 Dec 2002 18:48:02 -0500

On Wed, 18 Dec 2002 15:32:04 -0800, Kerch Holt <kerch@xxxxxxxxxx> 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