public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-7909] options: Remove 'gcc/c-family/c.opt:Warray-bounds' option definition record
@ 2022-03-30  6:58 Thomas Schwinge
  0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-03-30  6:58 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:78291af555e957a149c00a68f0fefdc419feee6f

commit r12-7909-g78291af555e957a149c00a68f0fefdc419feee6f
Author: Thomas Schwinge <thomas@codesourcery.com>
Date:   Thu Mar 24 22:17:23 2022 +0100

    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.

Diff:
---
 gcc/c-family/c.opt | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt
index 790d47caf0a..3c2ec7744b0 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-30  6:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-30  6:58 [gcc r12-7909] options: Remove 'gcc/c-family/c.opt:Warray-bounds' option definition record Thomas Schwinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).