aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2017-03-14 16:31:53 +0100
committerMartin Liska <marxin@gcc.gnu.org>2017-03-14 15:31:53 +0000
commit54d5850a75d560c456c34267fc34d05b5a27e1ca (patch)
treebc06781f6956c6bf0349ff724b5a873383692b90 /gcc
parent4f83482f4682c397c61d5edf60e39975d704d44e (diff)
downloadgcc-54d5850a75d560c456c34267fc34d05b5a27e1ca.zip
gcc-54d5850a75d560c456c34267fc34d05b5a27e1ca.tar.gz
gcc-54d5850a75d560c456c34267fc34d05b5a27e1ca.tar.bz2
Document -Wchkp (PR middle-end/79831).
2017-03-14 Martin Liska <mliska@suse.cz> PR middle-end/79831 * doc/invoke.texi (-Wchkp): Document the option. From-SVN: r246129
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/invoke.texi8
2 files changed, 12 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d53d070..4a6c93c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2017-03-14 Martin Liska <mliska@suse.cz>
+ PR middle-end/79831
+ * doc/invoke.texi (-Wchkp): Document the option.
+
+2017-03-14 Martin Liska <mliska@suse.cz>
+
* Makefile.in: Install gcov-dump.
2017-03-14 Martin Liska <mliska@suse.cz>
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 2852642..04ce03d 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -265,7 +265,8 @@ Objective-C and Objective-C++ Dialects}.
-Wno-builtin-declaration-mismatch @gol
-Wno-builtin-macro-redefined -Wc90-c99-compat -Wc99-c11-compat @gol
-Wc++-compat -Wc++11-compat -Wc++14-compat -Wcast-align -Wcast-qual @gol
--Wchar-subscripts -Wclobbered -Wcomment -Wconditionally-supported @gol
+-Wchar-subscripts -Wchkp -Wclobbered -Wcomment @gol
+-Wconditionally-supported @gol
-Wconversion -Wcoverage-mismatch -Wno-cpp -Wdangling-else -Wdate-time @gol
-Wdelete-incomplete @gol
-Wno-deprecated -Wno-deprecated-declarations -Wno-designated-init @gol
@@ -3860,6 +3861,11 @@ of error, as programmers often forget that this type is signed on some
machines.
This warning is enabled by @option{-Wall}.
+@item -Wchkp
+@opindex Wchkp
+Warn about an invalid memory access that is found by Pointer Bounds Checker
+(@option{-fcheck-pointer-bounds}).
+
@item -Wno-coverage-mismatch
@opindex Wno-coverage-mismatch
Warn if feedback profiles do not match when using the