This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Integer overflow in operator new
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: "Bradley Lucier" <lucier at math dot purdue dot edu>
- Cc: "gcc mailing list" <gcc at gcc dot gnu dot org>
- Date: Sun, 8 Apr 2007 12:18:59 -0700
- Subject: Re: Integer overflow in operator new
- References: <4008484F-3E62-49F4-8CC7-742BEC149D2F@math.purdue.edu>
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.
-- Pinski