aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@pfeifer.com>2019-06-15 21:07:27 +0000
committerGerald Pfeifer <gerald@gcc.gnu.org>2019-06-15 21:07:27 +0000
commit217a703014f096614244980bd184646a0bfd6fce (patch)
tree9bf2b22c8eac2d6319cdd49627f79a9ffdb1022c /gcc
parent8ee09896ce9212e1506256adeb41bf12877dc9d6 (diff)
downloadgcc-217a703014f096614244980bd184646a0bfd6fce.zip
gcc-217a703014f096614244980bd184646a0bfd6fce.tar.gz
gcc-217a703014f096614244980bd184646a0bfd6fce.tar.bz2
extend.texi (Common Function Attributes): Clarify no_sanitize.
* doc/extend.texi (Common Function Attributes): Clarify no_sanitize. Fix grammar. From-SVN: r272330
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/extend.texi4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e3799ae..36260ed 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2019-06-15 Gerald Pfeifer <gerald@pfeifer.com>
+
+ * doc/extend.texi (Common Function Attributes): Clarify
+ no_sanitize. Fix grammar.
+
2019-06-15 Jan Hubicka <hubicka@ucw.cz>
* tree-ssa-alias.c (alias_stats): Add
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 7ea0d04..f2619e1 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -3215,9 +3215,9 @@ marked symbols.
@item no_sanitize ("@var{sanitize_option}")
@cindex @code{no_sanitize} function attribute
The @code{no_sanitize} attribute on functions is used
-to inform the compiler that it should not do sanitization of all options
+to inform the compiler that it should not do sanitization of any option
mentioned in @var{sanitize_option}. A list of values acceptable by
-@option{-fsanitize} option can be provided.
+the @option{-fsanitize} option can be provided.
@smallexample
void __attribute__ ((no_sanitize ("alignment", "object-size")))