aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2022-03-24 22:17:23 +0100
committerThomas Schwinge <thomas@codesourcery.com>2022-03-30 08:57:59 +0200
commit78291af555e957a149c00a68f0fefdc419feee6f (patch)
tree1a9c8105e9b7f48eea4965970f1d509cb52c4410 /gcc
parente3d2b0d040e9baf6c0548b865ed5244dec464cc1 (diff)
downloadgcc-78291af555e957a149c00a68f0fefdc419feee6f.zip
gcc-78291af555e957a149c00a68f0fefdc419feee6f.tar.gz
gcc-78291af555e957a149c00a68f0fefdc419feee6f.tar.bz2
options: Remove 'gcc/c-family/c.opt:Warray-bounds' option definition record
A one-argument form of the 'LangEnabledBy' option property isn't defined, and effectively appears to be a no-op. Removing that one, the 'gcc/c-family/c.opt:Warray-bounds' option definition record becomes empty, and doesn't add anything over 'gcc/common.opt:Warray-bounds', and may thus be removed entirely. This only changes 'build-gcc/gcc/optionlist' accordingly, but no other generated files. Clean-up after r262912/commit 0d7f90652080c42cddca6f9b68f6895218c70880 "PR middle-end/82063 - issues with arguments enabled by -Wall". gcc/c-family/ * c.opt (Warray-bounds): Remove.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/c-family/c.opt4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt
index 790d47c..3c2ec77 100644
--- a/gcc/c-family/c.opt
+++ b/gcc/c-family/c.opt
@@ -342,10 +342,6 @@ Wno-alloca-larger-than
C ObjC C++ LTO ObjC++ Alias(Walloca-larger-than=,18446744073709551615EiB,none) Warning
Disable Walloca-larger-than= warning. Equivalent to Walloca-larger-than=<SIZE_MAX> or larger.
-Warray-bounds
-LangEnabledBy(C ObjC C++ LTO ObjC++)
-; in common.opt
-
Warray-bounds=
LangEnabledBy(C ObjC C++ LTO ObjC++,Wall,1,0)
; in common.opt