This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Integer overflow in operator new
Andrew Pinski writes:
> On 4/8/07, Bradley Lucier <lucier@math.purdue.edu> wrote:
> > Is this just a rumor, or are there data that backs this up. (That -
> > fwrapv doesn't work, not that Dewar was always told that it doesn't
> > work.)
>
> If you look into the bugzilla, you will see now two bugs filed against
> -ftrapv. One because the rtl back-end removes the libcall and another
> because we optimize away the overflow checks in libgcc2.c (PR 19020
> and PR 31477). I don't know why people can't look this up themselves,
> it is not like it is private information or anything.
You're really good at Bugzilla searches -- I find it really hard to
locate anything in Bugzilla, but I've seen you can do so in an
instant. So, I know it's possible, but... :-)
Andrew.
--
Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK
Registered in England and Wales No. 3798903