This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[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 00:43:51 +0100 (CET)
- Subject: [PATCH][4.3] Deprecate -ftrapv
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).
Ok for 4.3? I'll prepare an entry for the changes.html as well.
Thanks,
Richard.
2008-03-01 Richard Guenther <rguenther@suse.de>
* doc/invoke.texi (ftrapv): Deprecate.
Index: doc/invoke.texi
===================================================================
*** doc/invoke.texi (revision 132767)
--- doc/invoke.texi (working copy)
*************** this option defaults to true and false r
*** 14752,14759 ****
@item -ftrapv
@opindex ftrapv
! This option generates traps for signed overflow on addition, subtraction,
! multiplication operations.
@item -fwrapv
@opindex fwrapv
--- 14752,14760 ----
@item -ftrapv
@opindex ftrapv
! This option is supposed to generate traps for signed overflow on addition,
! subtraction and multiplication operations. This option is deprecated
! as it does not work in most cases.
@item -fwrapv
@opindex fwrapv