aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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=