[PING^2] [C++ PATCH] Add overflow checking to __cxa_vec_new[23]

Paolo Carlini paolo.carlini@oracle.com
Thu Nov 8 10:09:00 GMT 2012


On 11/08/2012 10:54 AM, Florian Weimer wrote:
> I figured I could commit this as obvious, so I did that in r193326.
Of course. Thanks again!

Paolo.

PS: as you may have noticed, I adjusted your new code to not throw, 
instead abort when __EXCEPTIONS is not defined: in general, we want the 
library to build also with -fno-exceptions and throw doesn't even 
compile in that case. Of course such a library isn't strictly conforming 
but In know quite a few users want the option.



More information about the Libstdc++ mailing list