This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][4.3] Deprecate -ftrapv
- From: Richard Guenther <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Cc: mark at codesourcery dot com
- Date: Sat, 1 Mar 2008 01:03:59 +0100 (CET)
- Subject: Re: [PATCH][4.3] Deprecate -ftrapv
- References: <Pine.LNX.4.64.0803010041110.4133@zhemvz.fhfr.qr>
On Sat, 1 Mar 2008, Richard Guenther wrote:
>
> This is a request to depcrecate -ftrapv which has numerous problems
> making it not work as expected since a long time. As nobody seems
> to have the energy to ensure it is working I propose to deprecate it
> for GCC 4.3 to make it possible to remove it during 4.4 (and not
> block removing libcall notes by it).
Actually not wrapping libcall notes around the libcalls will fix
some bugs with -ftrapv (not that it would work then -- the tree
optimizers break it completely, then expansion, then the
libcall notes and then libgcc itself). Still, -ftrapv is broken
and we should get rid of it. But there is probably no hurry to
do so for 4.3, it just would be nice to see it all gone in 4.4 ;)
Richard.