From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta36.uswest2.a.cloudfilter.net (omta36.uswest2.a.cloudfilter.net [35.89.44.35]) by sourceware.org (Postfix) with ESMTPS id 793723858C35 for ; Mon, 16 Oct 2023 23:05:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 793723858C35 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 793723858C35 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.35 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1697497535; cv=none; b=UY1yLKAdOuNyDhzPFoXLlnEevCzlRXoCL4RQIaw9I6A3lZUN8q7V7d0lNagFKw4ZTnQaYc28e8cLLTfOkv26vtgjep96kUvzq0Cc7Fi+o+h2gCedRV4aqrBeLqJeF0VgmpYCM+N5k9Kjr8jWRrO8opwjSshT121c84Q0yXePc3E= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1697497535; c=relaxed/simple; bh=Y4NQ3v/8OlZEU432dz236HeXgeKh0XesqO/JroD2pX0=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=o7SCwpUl4IcUnu9eqnEYHGVAySgSYUf8abpJ/oiAHri/NPXNLn3MBqsKtYKHGshL+17Z/Xp+Yt4icZD0zEuXnssKA1gnM3snLYMhxGpxCwClB+Vl25PCVR/Xb5rEGAB8hHaRTouNkcCdOTHhrYm0BJHq0azHYAqwSM0eZZKVwgM= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-5010a.ext.cloudfilter.net ([10.0.29.199]) by cmsmtp with ESMTP id sVfBqTQvfMZBksWeQqCePu; Mon, 16 Oct 2023 23:05:30 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id sWePqu9NcyDJKsWePq7RAh; Mon, 16 Oct 2023 23:05:29 +0000 X-Authority-Analysis: v=2.4 cv=E/TeGIRl c=1 sm=1 tr=0 ts=652dc1b9 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=OWjo9vPv0XrRhIrVQ50Ab3nP57M=:19 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=bhdUkHdE2iEA:10 a=Qbun_eYptAEA:10 a=M72r0Dc0uKoIkIKheg8A:9 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=PFxaiWKjEK4G0HKRtUtTh8uMsgLsX1p4B25q3MR+I2Y=; b=VZyIdVW7ne7h31RotEKL1UQnRf C83UsXUPIQK6ER1EPKXxJ1gWuSUdsioeUoSHmnPl7iXsVG6Gzr8ETdnvEeZ/7gjbILgokeuBNGJgN r6mO72unH/o9KQ9QnJEUkooqw; Received: from [161.98.8.3] (port=38490 helo=prentzel.ci.boulder.co.us) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.1) (envelope-from ) id 1qsWeO-003Maa-33; Mon, 16 Oct 2023 17:05:28 -0600 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH 2/7] Switch to -Wimplicit-fallthrough=5 Date: Mon, 16 Oct 2023 17:02:41 -0600 Message-ID: <20231016230527.1820819-3-tom@tromey.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231016230527.1820819-1-tom@tromey.com> References: <20231016230527.1820819-1-tom@tromey.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 161.98.8.3 X-Source-L: No X-Exim-ID: 1qsWeO-003Maa-33 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (prentzel.ci.boulder.co.us) [161.98.8.3]:38490 X-Source-Auth: tom+tromey.com X-Email-Count: 3 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfLpr4kECA0vCcq4y2GorTNm9xwj7JHH6CITYlNTvP8ndJCI10IvVXlc4mNrC2TaIUc0NPnskzpxq4pU+euZMSFIT7v8c5Lr8z9bbRjB+d/iYVjRZWraE SGrxQL1b4y2/Po4XBQR2v6WuJteVA8W/zlN5rZ0BlJXVobE7HxVQnB2dZdo5DlmgFth9mommAXKM+mWl+rij/S+k2nMqvOGTCiM= X-Spam-Status: No, score=-3024.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,GIT_PATCH_0,JMQ_SPF_NEUTRAL,KAM_NUMSUBJECT,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: This changes the various gdb-related directories to use -Wimplicit-fallthrough=5, meaning that only the fallthrough attribute can be used in switches -- special 'fallthrough' comments will no longer be usable. --- gdb/configure | 2 +- gdbserver/configure | 2 +- gdbsupport/configure | 2 +- gdbsupport/warning.m4 | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gdb/configure b/gdb/configure index 0878481e354..eb46a19051d 100755 --- a/gdb/configure +++ b/gdb/configure @@ -29620,7 +29620,7 @@ build_warnings="-Wall -Wpointer-arith \ -Wno-mismatched-tags \ -Wno-error=deprecated-register \ -Wsuggest-override \ --Wimplicit-fallthrough=3 \ +-Wimplicit-fallthrough=5 \ -Wduplicated-cond \ -Wshadow=local \ -Wdeprecated-copy \ diff --git a/gdbserver/configure b/gdbserver/configure index c6b8d7803c4..957fecab9f0 100755 --- a/gdbserver/configure +++ b/gdbserver/configure @@ -11892,7 +11892,7 @@ build_warnings="-Wall -Wpointer-arith \ -Wno-mismatched-tags \ -Wno-error=deprecated-register \ -Wsuggest-override \ --Wimplicit-fallthrough=3 \ +-Wimplicit-fallthrough=5 \ -Wduplicated-cond \ -Wshadow=local \ -Wdeprecated-copy \ diff --git a/gdbsupport/configure b/gdbsupport/configure index 0ef3d25a10b..ae36a20dd15 100755 --- a/gdbsupport/configure +++ b/gdbsupport/configure @@ -12389,7 +12389,7 @@ build_warnings="-Wall -Wpointer-arith \ -Wno-mismatched-tags \ -Wno-error=deprecated-register \ -Wsuggest-override \ --Wimplicit-fallthrough=3 \ +-Wimplicit-fallthrough=5 \ -Wduplicated-cond \ -Wshadow=local \ -Wdeprecated-copy \ diff --git a/gdbsupport/warning.m4 b/gdbsupport/warning.m4 index ea573c63c4a..774f0208e9b 100644 --- a/gdbsupport/warning.m4 +++ b/gdbsupport/warning.m4 @@ -44,7 +44,7 @@ build_warnings="-Wall -Wpointer-arith \ -Wno-mismatched-tags \ -Wno-error=deprecated-register \ -Wsuggest-override \ --Wimplicit-fallthrough=3 \ +-Wimplicit-fallthrough=5 \ -Wduplicated-cond \ -Wshadow=local \ -Wdeprecated-copy \ -- 2.41.0