Mangling sizeof

Jason Merrill jason at redhat.com
Thu Mar 5 01:03:03 UTC 2009


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).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: stub-sizeof.patch
Type: text/x-patch
Size: 499 bytes
Desc: not available
URL: <http://sourcerytools.com/pipermail/cxx-abi-dev/attachments/20090304/d946e48f/attachment.bin>


More information about the cxx-abi-dev mailing list