diff options
author | Jakub Jelinek <jakub@redhat.com> | 2014-06-30 14:52:30 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2014-06-30 14:52:30 +0200 |
commit | 670d96d7307b8cfa23000c050fe35c1298301cb4 (patch) | |
tree | 76d0cf6bc6e8801e00a76fcedfc76a6f9acfb5ee | |
parent | f7c4e5b837b22f774cb765ea4f57cd7b06d2af75 (diff) | |
download | gcc-670d96d7307b8cfa23000c050fe35c1298301cb4.zip gcc-670d96d7307b8cfa23000c050fe35c1298301cb4.tar.gz gcc-670d96d7307b8cfa23000c050fe35c1298301cb4.tar.bz2 |
invoke.texi (-fsanitize=bounds): Move to the table with -fsanitize=undefined suboptions.
* doc/invoke.texi (-fsanitize=bounds): Move to the table with
-fsanitize=undefined suboptions.
From-SVN: r212146
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 14 |
2 files changed, 12 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 463035d..bae3668 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-06-30 Jakub Jelinek <jakub@redhat.com> + + * doc/invoke.texi (-fsanitize=bounds): Move to the table with + -fsanitize=undefined suboptions. + 2014-06-30 Alan Lawrence <alan.lawrence@arm.com> * config/aarch64/aarch64-simd.md (vec_perm): Enable for bigendian. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 547203c..dbc1132 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -5440,6 +5440,13 @@ signed char a = SCHAR_MAX; a++; @end smallexample +@item -fsanitize=bounds +@opindex fsanitize=bounds + +This option enables instrumentation of array bounds. Various out of bounds +accesses are detected. Flexible array members are not instrumented, as well +as initializers of variables with static storage. + @end table While @option{-ftrapv} causes traps for signed overflows to be emitted, @@ -5461,13 +5468,6 @@ This option enables floating-point type to integer conversion checking. We check that the result of the conversion does not overflow. This option does not work well with @code{FE_INVALID} exceptions enabled. -@item -fsanitize=bounds -@opindex fsanitize=bounds - -This option enables instrumentation of array bounds. Various out of bounds -accesses are detected. Flexible array members are not instrumented, as well -as initializers of variables with static storage. - @item -fsanitize-recover @opindex fsanitize-recover By default @option{-fsanitize=undefined} sanitization (and its suboptions |