Commit 075e268e by Tom de Vries Committed by Tom de Vries

Document ftrapv/fwrapv interaction

2015-09-04  Tom de Vries  <tom@codesourcery.com>

	* doc/invoke.texi (@item -ftrapv, @item -fwrapv): Document interaction.

From-SVN: r227494
parent a12cbc57
2015-09-04 Tom de Vries <tom@codesourcery.com>
* doc/invoke.texi (@item -ftrapv, @item -fwrapv): Document interaction.
2015-09-04 Jeff Law <law@redhat.com> 2015-09-04 Jeff Law <law@redhat.com>
* tree-ssa-scopedtables.c (const_and_copies::const_and_copies): Remove * tree-ssa-scopedtables.c (const_and_copies::const_and_copies): Remove
......
...@@ -23696,6 +23696,11 @@ option is used to control the temporary stack reuse optimization. ...@@ -23696,6 +23696,11 @@ option is used to control the temporary stack reuse optimization.
@opindex ftrapv @opindex ftrapv
This option generates traps for signed overflow on addition, subtraction, This option generates traps for signed overflow on addition, subtraction,
multiplication operations. multiplication operations.
The options @option{-ftrapv} and @option{-fwrapv} override each other, so using
@option{-ftrapv} @option{-fwrapv} on the command-line results in
@option{-fwrapv} being effective. Note that only active options override, so
using @option{-ftrapv} @option{-fwrapv} @option{-fno-wrapv} on the command-line
results in @option{-ftrapv} being effective.
@item -fwrapv @item -fwrapv
@opindex fwrapv @opindex fwrapv
...@@ -23704,6 +23709,11 @@ overflow of addition, subtraction and multiplication wraps around ...@@ -23704,6 +23709,11 @@ overflow of addition, subtraction and multiplication wraps around
using twos-complement representation. This flag enables some optimizations using twos-complement representation. This flag enables some optimizations
and disables others. This option is enabled by default for the Java and disables others. This option is enabled by default for the Java
front end, as required by the Java language specification. front end, as required by the Java language specification.
The options @option{-ftrapv} and @option{-fwrapv} override each other, so using
@option{-ftrapv} @option{-fwrapv} on the command-line results in
@option{-fwrapv} being effective. Note that only active options override, so
using @option{-ftrapv} @option{-fwrapv} @option{-fno-wrapv} on the command-line
results in @option{-ftrapv} being effective.
@item -fexceptions @item -fexceptions
@opindex fexceptions @opindex fexceptions
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment