aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2018-07-20 21:19:49 +0000
committerMartin Sebor <msebor@gcc.gnu.org>2018-07-20 15:19:49 -0600
commit0d7f90652080c42cddca6f9b68f6895218c70880 (patch)
tree354e0715e19f424be23c7ecb8cd41ebfc79dffa0
parentcb4df8efb5b0b8b8ee91d01d3f365a242e266048 (diff)
downloadgcc-0d7f90652080c42cddca6f9b68f6895218c70880.zip
gcc-0d7f90652080c42cddca6f9b68f6895218c70880.tar.gz
gcc-0d7f90652080c42cddca6f9b68f6895218c70880.tar.bz2
PR middle-end/82063 - issues with arguments enabled by -Wall
gcc/c-family/ChangeLog: * gcc/c-family/c.opt (-Warray-bounds): Remove redundant -Wall. From-SVN: r262912
-rw-r--r--gcc/c-family/ChangeLog5
-rw-r--r--gcc/c-family/c.opt2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 9ea551a..de0ee67 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,6 +1,11 @@
2018-07-20 Martin Sebor <msebor@redhat.com>
PR middle-end/82063
+ * gcc/c-family/c.opt (-Warray-bounds): Remove redundant -Wall.
+
+2018-07-20 Martin Sebor <msebor@redhat.com>
+
+ PR middle-end/82063
* c-common.h (c_common_handle_option): Change function argument
to HOST_WIDE_INT.
* c-opts.c (c_common_init_options): Same.
diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt
index bb4f603..d614838 100644
--- a/gcc/c-family/c.opt
+++ b/gcc/c-family/c.opt
@@ -327,7 +327,7 @@ C ObjC C++ LTO ObjC++ Alias(Walloca-larger-than=,18446744073709551615EiB,none) W
-Wno-alloca-larger-than Disable Walloca-larger-than= warning. Equivalent to Walloca-larger-than=<SIZE_MAX> or larger.
Warray-bounds
-LangEnabledBy(C ObjC C++ LTO ObjC++,Wall)
+LangEnabledBy(C ObjC C++ LTO ObjC++)
; in common.opt
Warray-bounds=