From patchwork Fri Mar 3 08:54:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xi Ruoyao X-Patchwork-Id: 63800 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp299088wrd; Fri, 3 Mar 2023 00:56:11 -0800 (PST) X-Google-Smtp-Source: AK7set9G9HxRFUyFzDCGuHESW/a1FguvHtp9Ij1Eh1DAUL1krl2dsyu+qcYcE5jpiSAjZWrVI11k X-Received: by 2002:a17:906:fe44:b0:88f:8a5:b4cd with SMTP id wz4-20020a170906fe4400b0088f08a5b4cdmr1248226ejb.1.1677833770953; Fri, 03 Mar 2023 00:56:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677833770; cv=none; d=google.com; s=arc-20160816; b=yY4PrupJqHRTvynCiJ4n4MJqXV9DbHyIJjlsQWnwVQlj6bmA7W4Th3mnslLT+d1V3w WpshVLOBntlk0F5KgKdnb2ZOp5o4ZgwF4NSALmU9iE3QNoAjRxv4bKmWr0zlEdoQRtxP mcVg5013aUF44d09xxnEn1VtVgkKc3FHChsmqxO2u3TDDibNpL3A9ZJbP9h+57WOwZWj WDNtc0IMDc6McnW0Izp8FMrc+uQLznPxPL4Slm82SH4TJvINCSgb8CegfRJi649Oylt4 H+zHNtsSXVKQugRsZ2fw0JKRkqvbs924tQpvn+cRAA9W1vlaABrXF3posFI/+DVGgJzn unpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=7farBV+zk5yQjIdXbX9dP+K/zQnRl2uS3VXd19zN0CE=; b=ShnjigRcco7D+qkeb6XAhnIYqjTx/GubNpQ0k//0t/LcC2fPhKHFBAvv0mmTuPF4yL dRDHxyHNeytYUryYz+D9jUpBe0kYM5vx4FbXKin+2MTBMJV5keQR4LKJ0QRSdlfcre// DRWo7mhagM4ZLo3g3y5GR8Qz2yL9en0ErLca5CiVg87GKetqZ4UGM0yePaLcFl5Gj8AR 8TJhffGfzHmh7y1jp+uXWwwKzAMzbGSU8uf+QZbkQRJotFh2dfzH/mh/hL313W4Ze3Sb eu7lC9lS+owYW1LhpnPQxxqjkicWhMYOrN8gCphzNeFH3njzIB3B9Y0cV1X33gjXLppS Nxhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=nQ359Vry; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id hz3-20020a1709072ce300b008d4d102a7b8si2352746ejc.365.2023.03.03.00.56.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Mar 2023 00:56:10 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=nQ359Vry; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4343B3858002 for ; Fri, 3 Mar 2023 08:56:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4343B3858002 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677833765; bh=7farBV+zk5yQjIdXbX9dP+K/zQnRl2uS3VXd19zN0CE=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=nQ359VryGC1GDsvaizWvlFRe9xeRzjbmhzjZeUH0gkdkgC8LEnbK9QbmVznT+kjAq mIPGzv8C1lUwXsklrETwwZK+N3Gf8A8Tnk/XG1TaPkKFPprp15YW3UxjneAHBsuqwH atPpSD3EQSfORqiKyDaipVXp6XPBifOHhFXYl0GQ= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org 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 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) 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 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 X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Xi Ruoyao via Gcc-patches From: Xi Ruoyao Reply-To: Xi Ruoyao Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759336223929461747?= X-GMAIL-MSGID: =?utf-8?q?1759336223929461747?= 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; }