From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from xry111.site (xry111.site [IPv6:2001:470:683e::1]) by sourceware.org (Postfix) with ESMTPS id 9B1D23858425 for ; Fri, 3 Mar 2023 08:55:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9B1D23858425 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=xry111.site Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=xry111.site DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xry111.site; s=default; t=1677833711; bh=ZaJEE/GOsTRvVbXETDzBh/IDyg+XOYMgvUQkFzJvWPI=; h=From:To:Cc:Subject:Date:From; b=faJrT4ngpdHewy/ntFH8A0piO2xwPHIs+BIPVpNHjSV41w+QVnhY6SaejQvfG+jvm 5sNyfBo+eFVqq/FTlUgwoFm7ma/LfuVeakvouob8s+NIcOMotGQveHrTcnoB5IPdGe 76eh7NuDw4o0vZ3tD09m3Humb/kxM2kz28gJvlls= Received: from stargazer.. (unknown [IPv6:240e:456:1110:7cf9:ec5:fc73:e9ee:ce76]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id 816FD65BA5; Fri, 3 Mar 2023 03:55:06 -0500 (EST) From: Xi Ruoyao To: gcc-patches@gcc.gnu.org Cc: Jeff Law , Xi Ruoyao Subject: [PATCH] driver: toplev: Fix a typo Date: Fri, 3 Mar 2023 16:54:56 +0800 Message-Id: <20230303085456.13037-1-xry111@xry111.site> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-8.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,LIKELY_SPAM_FROM,SPF_HELO_PASS,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: The driver emits a warning when -fstack-check and -fstack-clash-protection are used together, but the message refers to "-fstack-clash_protection" (underline instead of dash). gcc/ChangeLog: * toplev.cc (process_options): Fix the spelling of "-fstack-clash-protection". --- gcc/toplev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/toplev.cc b/gcc/toplev.cc index 4c15d4f542e..109c9d58cbd 100644 --- a/gcc/toplev.cc +++ b/gcc/toplev.cc @@ -1580,7 +1580,7 @@ process_options (bool no_backend) if (flag_stack_check != NO_STACK_CHECK && flag_stack_clash_protection) { warning_at (UNKNOWN_LOCATION, 0, - "%<-fstack-check=%> and %<-fstack-clash_protection%> are " + "%<-fstack-check=%> and %<-fstack-clash-protection%> are " "mutually exclusive; disabling %<-fstack-check=%>"); flag_stack_check = NO_STACK_CHECK; } -- 2.39.2