[cxx-abi-dev] Mangling sizeof

Doug Gregor doug.gregor at gmail.com
Thu Mar 5 18:44:54 UTC 2009


On Thu, Mar 5, 2009 at 12:20 PM, Lawrence Crowl <crowl at google.com> wrote:
> On 3/4/09, Jason Merrill <jason at redhat.com> wrote:
>> I've been looking at some old GCC bug reports and noticed that my recent
>> mangling improvements didn't extend the use of the expression type stubs to
>> sizeof expressions, so we still run into mangling holes in that context.
>> What do people think about using the type stubs in sizeof expressions as
>> well?  This would break ABI compatibility with most existing uses of sizeof
>> in template signatures, but I suspect those are very few currently because
>> of the limitations of expression mangling (prior to the recent
>> enhancements).
>
> What do you think of associating such a change with the C++0x flag?

I am against making the ABI differ for C++98 and C++0x, unless we're
forced into it.

  - Doug



More information about the cxx-abi-dev mailing list