This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]