[cxx-abi-dev] Mangling sizeof
David Vandevoorde
daveed at edg.com
Thu Mar 5 15:46:41 UTC 2009
That change looks fine to me.
Daveed
On Mar 4, 2009, at 8:03 PM, Jason Merrill 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).
>
> *** abi.html.~16~ 2009-01-02 18:17:15.000000000 -0500
> --- abi.html 2009-03-04 16:26:50.000000000 -0500
> *************** version.
> *** 4471,4476 ****
> --- 4471,4477 ----
>
> <p>
> The <code>sT</code> and <code>sR</code> forms are used within the
> + <code>sz</code> expression and the
> C++0x <code>decltype</code> forms <code>DT</code> and <code>Dt</
> code>.
> Within these contexts, the value of the expression doesn't matter,
> only the
> type, so we just mangle the type of the expression directly as an
More information about the cxx-abi-dev
mailing list