[PATCH][4.3] Deprecate -ftrapv
Richard Guenther
rguenther@suse.de
Fri Feb 29 23:44:00 GMT 2008
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
More information about the Gcc
mailing list