From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1643) id 54CA73858403; Wed, 30 Mar 2022 06:58:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 54CA73858403 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Thomas Schwinge To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-7909] options: Remove 'gcc/c-family/c.opt:Warray-bounds' option definition record X-Act-Checkin: gcc X-Git-Author: Thomas Schwinge X-Git-Refname: refs/heads/master X-Git-Oldrev: e3d2b0d040e9baf6c0548b865ed5244dec464cc1 X-Git-Newrev: 78291af555e957a149c00a68f0fefdc419feee6f Message-Id: <20220330065832.54CA73858403@sourceware.org> Date: Wed, 30 Mar 2022 06:58:32 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2022 06:58:32 -0000 https://gcc.gnu.org/g:78291af555e957a149c00a68f0fefdc419feee6f commit r12-7909-g78291af555e957a149c00a68f0fefdc419feee6f Author: Thomas Schwinge 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= 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