From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id A67D938618FC for ; Thu, 21 Dec 2023 07:02:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A67D938618FC Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A67D938618FC Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:470:ea4a:1:5054:ff:fec7:86e4 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703142130; cv=none; b=aAOqKvy4UMqfmafC8u2pJWCDSTdXgUGgEnCGIIiV1zSmjazSz+kuP1T2wYHjmboOa1N7G5WpV7GNbc8YPfRye9Mm8vzeXD++LklfV4I3BCE7DiMOyPd1BTfeehHwSVn5D0EbhnrjPaXpd0wooUWlebQ6PZIvMQ6YcKgf6f4V2qQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703142130; c=relaxed/simple; bh=9VVnWK+bHKXSb/3z0KWtjvPzqfNmLADb8VrYj0/O6Tw=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=KukUMwcKe1weLgQxjiPiL+/61wm8vZjngJEWVZXJl6H9Sa05TsHTbiHy0/A7GN9sjHZQLNyvUj2hzncnQpSgyjSAoC70v+pkJx2YLKtvJVvjjz2X8l9RNL1YkHziXgh+n9/hoAjEFvcHjApxk1b+aARJK7QnZujTjnZAYywlZp4= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by smtp.gentoo.org (Postfix, from userid 559) id 58D3D340943; Thu, 21 Dec 2023 07:02:08 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: [PATCH/committed 20/20] sim: warnings: enable -Wimplicit-fallthrough=5 Date: Thu, 21 Dec 2023 02:01:27 -0500 Message-ID: <20231221070127.19142-20-vapier@gentoo.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231221070127.19142-1-vapier@gentoo.org> References: <20231221070127.19142-1-vapier@gentoo.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.0 required=5.0 tests=BAYES_00,GIT_PATCH_0,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,KAM_NUMSUBJECT,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE 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: It caught some legitimate bugs, so clearly it's helpful. --- sim/configure | 1 + sim/m4/sim_ac_option_warnings.m4 | 1 + 2 files changed, 2 insertions(+) diff --git a/sim/m4/sim_ac_option_warnings.m4 b/sim/m4/sim_ac_option_warnings.m4 index 3da1c6a2e4a8..bdb99c496527 100644 --- a/sim/m4/sim_ac_option_warnings.m4 +++ b/sim/m4/sim_ac_option_warnings.m4 @@ -44,6 +44,7 @@ build_warnings="-Wall -Wpointer-arith dnl C++ -Wno-mismatched-tags -Wno-error=deprecated-register dnl C++ -Wsuggest-override +-Wimplicit-fallthrough=5 -Wduplicated-cond dnl -Wshadow=local dnl C++ -Wdeprecated-copy -- 2.43.0