From patchwork Fri Aug 18 03:52:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tsukasa OI X-Patchwork-Id: 135977 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b82d:0:b0:3f2:4152:657d with SMTP id z13csp1140350vqi; Thu, 17 Aug 2023 20:53:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE576JA82/FuYqGKKeZgORvRwc050tLfZzwNjpvkNUki83l2xC4up40ikzzd64KUvk85LvA X-Received: by 2002:aa7:d50e:0:b0:523:3fff:5ce2 with SMTP id y14-20020aa7d50e000000b005233fff5ce2mr1167072edq.41.1692330813768; Thu, 17 Aug 2023 20:53:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692330813; cv=none; d=google.com; s=arc-20160816; b=VQD35312Ln4fkSr9/JHLtso3Kp6/whN8TNbcDn9drQCVWaokQdoEgIuIqnmz7qZZFv 2WrpSWTU3fXcEol/Lo5rZSymgfoBXzsXnFNK7lVF49/MMTGMm520zBjQedeATI9Lpn0b rzjus4EsO0lQXbJhP+svx7Ao+ttVuJuFHs/+25zlykbZ9p4gXtwA3GQao++0hhSDMarw ID5xK85NxdDaoeoy60u4X/e50GYybPghVYsltqTZVTxYRPLzhr/tLHQHWz5SkZwYI9pq +/KGjlx9BFmjK1C9mOoXQi8YI88EWJ68TvOoMgKiJdoTDuOB4Ad3s2qEzOwqbSsoHRXk 4RpA== 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:references:in-reply-to :message-id:date:subject:cc:to:dmarc-filter:delivered-to :dkim-signature:dkim-filter; bh=RObgJ6txonVKPBKufdZz27lWYa/v6I1dd7PLWKzo0Ac=; fh=hhXD6QXp3dbTaZhg9fAKOgEtxoIQ4aZDymsy7qxFPr8=; b=jdId5BRPzoWq7F2MyZXvS5tIZa0EjCB+P6xfdrIzHqjMJtZD2TUGbd5uytg1Mkhogw cE3TNtrq/2yCmQyLOtioQCdNw3cDpJUnAy3qCOiaqHM6pXBrfj7pf83npmfNbUDySazy rhqEw4s1Y5vOP2awqtm6EA4A3uH9jB3ZILbwvzu44cbVnk6HPT//mucgFOguoIwAsnOI cAFp7cK0eMxjWeuw542xw7noocpwoW5j2KBsn/XeT0VelODkVBhSJVl3OjK/rr7tCm9A 5jyJpMPbDrHrXHHmsJp5TUceLayxKbbDFhHMqx7bJ3gMvqGl5cqnso0XJWqFT5hafSao LGIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=FlsRIHJt; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c 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 (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id h3-20020aa7c603000000b00523215dd857si663564edq.52.2023.08.17.20.53.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Aug 2023 20:53:33 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=FlsRIHJt; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c 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 1F6613870885 for ; Fri, 18 Aug 2023 03:53:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1F6613870885 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1692330796; bh=RObgJ6txonVKPBKufdZz27lWYa/v6I1dd7PLWKzo0Ac=; h=To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=FlsRIHJt000e/r4wJpUwpXvqQb0hFqkzu4M+eX/h9J4wPKgw1eAAk/1JESKJ8wU/O QnRRXOMoMN959tQ0LTfpnGJajrMTiWHkO1gGyM9syQaGLFh1wvkFRnR6imPwIjCtzt sTcu9KzouYpmlimroPyNxJXoWAjd51vUgljGe63M= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-sender-0.a4lg.com (mail-sender.a4lg.com [153.120.152.154]) by sourceware.org (Postfix) with ESMTPS id A5C0E385B512 for ; Fri, 18 Aug 2023 03:52:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A5C0E385B512 Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail-sender-0.a4lg.com (Postfix) with ESMTPSA id F21BC300089; Fri, 18 Aug 2023 03:52:25 +0000 (UTC) To: Tsukasa OI , Jeff Law , "juzhe . zhong @ rivai . ai" Cc: gcc-patches@gcc.gnu.org Subject: [PATCH 1/2] RISC-V: Add quotes to #error messages Date: Fri, 18 Aug 2023 03:52:09 +0000 Message-ID: <6afb03099b118119ecca3dd8500e70ee9d523c6d.1692330726.git.research_trasio@irq.a4lg.com> In-Reply-To: <89ded79ffaf3c2c5e3a6d35ee082a40de645f8f6.1691981620.git.research_trasio@irq.a4lg.com> References: <89ded79ffaf3c2c5e3a6d35ee082a40de645f8f6.1691981620.git.research_trasio@irq.a4lg.com> Mime-Version: 1.0 X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, GIT_PATCH_0, KAM_SHORT, 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 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: Tsukasa OI via Gcc-patches From: Tsukasa OI Reply-To: Tsukasa OI Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1774537475487431993 X-GMAIL-MSGID: 1774537475487431993 From: Tsukasa OI In commit 1aaf3a64e92a ("[PATCH] RISC-V: Deduplicate #error messages in testsuite"), the author made a mistake to miss the test after adding quotes around extension names. To avoid future errors and for consistency with other #error uses in the RISC-V testsuite, this commit quotes #error messages where necessary to avoid current test case failures. gcc/testsuite/ChangeLog: * gcc.target/riscv/zvkn.c: Quote #error messages. * gcc.target/riscv/zvkn-1.c: Ditto. * gcc.target/riscv/zvknc.c: Ditto. * gcc.target/riscv/zvknc-1.c: Ditto. * gcc.target/riscv/zvknc-2.c: Ditto. * gcc.target/riscv/zvkng.c: Ditto. * gcc.target/riscv/zvkng-1.c: Ditto. * gcc.target/riscv/zvkng-2.c: Ditto. * gcc.target/riscv/zvks.c: Ditto. * gcc.target/riscv/zvks-1.c: Ditto. * gcc.target/riscv/zvksc.c: Ditto. * gcc.target/riscv/zvksc-1.c: Ditto. * gcc.target/riscv/zvksc-2.c: Ditto. * gcc.target/riscv/zvksg.c: Ditto. * gcc.target/riscv/zvksg-1.c: Ditto. * gcc.target/riscv/zvksg-2.c: Ditto. --- gcc/testsuite/gcc.target/riscv/zvkn-1.c | 10 +++++----- gcc/testsuite/gcc.target/riscv/zvkn.c | 10 +++++----- gcc/testsuite/gcc.target/riscv/zvknc-1.c | 14 +++++++------- gcc/testsuite/gcc.target/riscv/zvknc-2.c | 14 +++++++------- gcc/testsuite/gcc.target/riscv/zvknc.c | 14 +++++++------- gcc/testsuite/gcc.target/riscv/zvkng-1.c | 14 +++++++------- gcc/testsuite/gcc.target/riscv/zvkng-2.c | 14 +++++++------- gcc/testsuite/gcc.target/riscv/zvkng.c | 14 +++++++------- gcc/testsuite/gcc.target/riscv/zvks-1.c | 10 +++++----- gcc/testsuite/gcc.target/riscv/zvks.c | 10 +++++----- gcc/testsuite/gcc.target/riscv/zvksc-1.c | 14 +++++++------- gcc/testsuite/gcc.target/riscv/zvksc-2.c | 14 +++++++------- gcc/testsuite/gcc.target/riscv/zvksc.c | 14 +++++++------- gcc/testsuite/gcc.target/riscv/zvksg-1.c | 14 +++++++------- gcc/testsuite/gcc.target/riscv/zvksg-2.c | 14 +++++++------- gcc/testsuite/gcc.target/riscv/zvksg.c | 14 +++++++------- 16 files changed, 104 insertions(+), 104 deletions(-) base-commit: 3709ca091bec43ee3203b96146585652c5d84728 diff --git a/gcc/testsuite/gcc.target/riscv/zvkn-1.c b/gcc/testsuite/gcc.target/riscv/zvkn-1.c index 84a3b577a496..23b255b47790 100644 --- a/gcc/testsuite/gcc.target/riscv/zvkn-1.c +++ b/gcc/testsuite/gcc.target/riscv/zvkn-1.c @@ -3,23 +3,23 @@ /* { dg-options "-march=rv32gc_zvkned_zvknhb_zvbb_zvkt" { target { rv32 } } } */ #ifndef __riscv_zvkn -#error Feature macro for `Zvkn' not defined +#error "Feature macro for `Zvkn' not defined" #endif #ifndef __riscv_zvkned -#error Feature macro for `Zvkned' not defined +#error "Feature macro for `Zvkned' not defined" #endif #ifndef __riscv_zvknhb -#error Feature macro for `Zvknhb' not defined +#error "Feature macro for `Zvknhb' not defined" #endif #ifndef __riscv_zvbb -#error Feature macro for `Zvbb' not defined +#error "Feature macro for `Zvbb' not defined" #endif #ifndef __riscv_zvkt -#error Feature macro for `Zvkt' not defined +#error "Feature macro for `Zvkt' not defined" #endif int diff --git a/gcc/testsuite/gcc.target/riscv/zvkn.c b/gcc/testsuite/gcc.target/riscv/zvkn.c index b42c1881b628..0047ebdede6f 100644 --- a/gcc/testsuite/gcc.target/riscv/zvkn.c +++ b/gcc/testsuite/gcc.target/riscv/zvkn.c @@ -3,23 +3,23 @@ /* { dg-options "-march=rv32gc_zvkn" { target { rv32 } } } */ #ifndef __riscv_zvkn -#error Feature macro for `Zvkn' not defined +#error "Feature macro for `Zvkn' not defined" #endif #ifndef __riscv_zvkned -#error Feature macro for `Zvkned' not defined +#error "Feature macro for `Zvkned' not defined" #endif #ifndef __riscv_zvknhb -#error Feature macro for `Zvknhb' not defined +#error "Feature macro for `Zvknhb' not defined" #endif #ifndef __riscv_zvbb -#error Feature macro for `Zvbb' not defined +#error "Feature macro for `Zvbb' not defined" #endif #ifndef __riscv_zvkt -#error Feature macro for `Zvkt' not defined +#error "Feature macro for `Zvkt' not defined" #endif int diff --git a/gcc/testsuite/gcc.target/riscv/zvknc-1.c b/gcc/testsuite/gcc.target/riscv/zvknc-1.c index 5c456a6add78..d8a84c021180 100644 --- a/gcc/testsuite/gcc.target/riscv/zvknc-1.c +++ b/gcc/testsuite/gcc.target/riscv/zvknc-1.c @@ -3,31 +3,31 @@ /* { dg-options "-march=rv32gc_zvkned_zvknhb_zvbb_zvkt_zvbc" { target { rv32 } } } */ #ifndef __riscv_zvknc -#error Feature macro for `Zvknc' not defined +#error "Feature macro for `Zvknc' not defined" #endif #ifndef __riscv_zvkn -#error Feature macro for `Zvkn' not defined +#error "Feature macro for `Zvkn' not defined" #endif #ifndef __riscv_zvkned -#error Feature macro for `Zvkned' not defined +#error "Feature macro for `Zvkned' not defined" #endif #ifndef __riscv_zvknhb -#error Feature macro for `Zvknhb' not defined +#error "Feature macro for `Zvknhb' not defined" #endif #ifndef __riscv_zvbb -#error Feature macro for `Zvbb' not defined +#error "Feature macro for `Zvbb' not defined" #endif #ifndef __riscv_zvkt -#error Feature macro for `Zvkt' not defined +#error "Feature macro for `Zvkt' not defined" #endif #ifndef __riscv_zvbc -#error Feature macro for `Zvbc' not defined +#error "Feature macro for `Zvbc' not defined" #endif int diff --git a/gcc/testsuite/gcc.target/riscv/zvknc-2.c b/gcc/testsuite/gcc.target/riscv/zvknc-2.c index fbedbf336367..36cc6335d135 100644 --- a/gcc/testsuite/gcc.target/riscv/zvknc-2.c +++ b/gcc/testsuite/gcc.target/riscv/zvknc-2.c @@ -3,31 +3,31 @@ /* { dg-options "-march=rv32gc_zvkn_zvbc" { target { rv32 } } } */ #ifndef __riscv_zvknc -#error Feature macro for `Zvknc' not defined +#error "Feature macro for `Zvknc' not defined" #endif #ifndef __riscv_zvkn -#error Feature macro for `Zvkn' not defined +#error "Feature macro for `Zvkn' not defined" #endif #ifndef __riscv_zvkned -#error Feature macro for `Zvkned' not defined +#error "Feature macro for `Zvkned' not defined" #endif #ifndef __riscv_zvknhb -#error Feature macro for `Zvknhb' not defined +#error "Feature macro for `Zvknhb' not defined" #endif #ifndef __riscv_zvbb -#error Feature macro for `Zvbb' not defined +#error "Feature macro for `Zvbb' not defined" #endif #ifndef __riscv_zvkt -#error Feature macro for `Zvkt' not defined +#error "Feature macro for `Zvkt' not defined" #endif #ifndef __riscv_zvbc -#error Feature macro for `Zvbc' not defined +#error "Feature macro for `Zvbc' not defined" #endif int diff --git a/gcc/testsuite/gcc.target/riscv/zvknc.c b/gcc/testsuite/gcc.target/riscv/zvknc.c index 826e36ad4d9c..a177f17fbd7a 100644 --- a/gcc/testsuite/gcc.target/riscv/zvknc.c +++ b/gcc/testsuite/gcc.target/riscv/zvknc.c @@ -3,31 +3,31 @@ /* { dg-options "-march=rv32gc_zvknc" { target { rv32 } } } */ #ifndef __riscv_zvknc -#error Feature macro for `Zvknc' not defined +#error "Feature macro for `Zvknc' not defined" #endif #ifndef __riscv_zvkn -#error Feature macro for `Zvkn' not defined +#error "Feature macro for `Zvkn' not defined" #endif #ifndef __riscv_zvkned -#error Feature macro for `Zvkned' not defined +#error "Feature macro for `Zvkned' not defined" #endif #ifndef __riscv_zvknhb -#error Feature macro for `Zvknhb' not defined +#error "Feature macro for `Zvknhb' not defined" #endif #ifndef __riscv_zvbb -#error Feature macro for `Zvbb' not defined +#error "Feature macro for `Zvbb' not defined" #endif #ifndef __riscv_zvkt -#error Feature macro for `Zvkt' not defined +#error "Feature macro for `Zvkt' not defined" #endif #ifndef __riscv_zvbc -#error Feature macro for `Zvbc' not defined +#error "Feature macro for `Zvbc' not defined" #endif int diff --git a/gcc/testsuite/gcc.target/riscv/zvkng-1.c b/gcc/testsuite/gcc.target/riscv/zvkng-1.c index c1424127d433..d996b42af00f 100644 --- a/gcc/testsuite/gcc.target/riscv/zvkng-1.c +++ b/gcc/testsuite/gcc.target/riscv/zvkng-1.c @@ -3,31 +3,31 @@ /* { dg-options "-march=rv32gc_zvkned_zvknhb_zvbb_zvkt_zvkg" { target { rv32 } } } */ #ifndef __riscv_zvkng -#error Feature macro for `Zvkng' not defined +#error "Feature macro for `Zvkng' not defined" #endif #ifndef __riscv_zvkn -#error Feature macro for `Zvkn' not defined +#error "Feature macro for `Zvkn' not defined" #endif #ifndef __riscv_zvkned -#error Feature macro for `Zvkned' not defined +#error "Feature macro for `Zvkned' not defined" #endif #ifndef __riscv_zvknhb -#error Feature macro for `Zvknhb' not defined +#error "Feature macro for `Zvknhb' not defined" #endif #ifndef __riscv_zvbb -#error Feature macro for `Zvbb' not defined +#error "Feature macro for `Zvbb' not defined" #endif #ifndef __riscv_zvkt -#error Feature macro for `Zvkt' not defined +#error "Feature macro for `Zvkt' not defined" #endif #ifndef __riscv_zvkg -#error Feature macro for `Zvkg' not defined +#error "Feature macro for `Zvkg' not defined" #endif int diff --git a/gcc/testsuite/gcc.target/riscv/zvkng-2.c b/gcc/testsuite/gcc.target/riscv/zvkng-2.c index 0150dcaabe60..00199992d5c6 100644 --- a/gcc/testsuite/gcc.target/riscv/zvkng-2.c +++ b/gcc/testsuite/gcc.target/riscv/zvkng-2.c @@ -3,31 +3,31 @@ /* { dg-options "-march=rv32gc_zvkn_zvkg" { target { rv32 } } } */ #ifndef __riscv_zvkng -#error Feature macro for `Zvkng' not defined +#error "Feature macro for `Zvkng' not defined" #endif #ifndef __riscv_zvkn -#error Feature macro for `Zvkn' not defined +#error "Feature macro for `Zvkn' not defined" #endif #ifndef __riscv_zvkned -#error Feature macro for `Zvkned' not defined +#error "Feature macro for `Zvkned' not defined" #endif #ifndef __riscv_zvknhb -#error Feature macro for `Zvknhb' not defined +#error "Feature macro for `Zvknhb' not defined" #endif #ifndef __riscv_zvbb -#error Feature macro for `Zvbb' not defined +#error "Feature macro for `Zvbb' not defined" #endif #ifndef __riscv_zvkt -#error Feature macro for `Zvkt' not defined +#error "Feature macro for `Zvkt' not defined" #endif #ifndef __riscv_zvkg -#error Feature macro for `Zvkg' not defined +#error "Feature macro for `Zvkg' not defined" #endif int diff --git a/gcc/testsuite/gcc.target/riscv/zvkng.c b/gcc/testsuite/gcc.target/riscv/zvkng.c index 20cf09890c86..4605faf3c6cc 100644 --- a/gcc/testsuite/gcc.target/riscv/zvkng.c +++ b/gcc/testsuite/gcc.target/riscv/zvkng.c @@ -3,31 +3,31 @@ /* { dg-options "-march=rv32gc_zvkng" { target { rv32 } } } */ #ifndef __riscv_zvkng -#error Feature macro for `Zvkng' not defined +#error "Feature macro for `Zvkng' not defined" #endif #ifndef __riscv_zvkn -#error Feature macro for `Zvkn' not defined +#error "Feature macro for `Zvkn' not defined" #endif #ifndef __riscv_zvkned -#error Feature macro for `Zvkned' not defined +#error "Feature macro for `Zvkned' not defined" #endif #ifndef __riscv_zvknhb -#error Feature macro for `Zvknhb' not defined +#error "Feature macro for `Zvknhb' not defined" #endif #ifndef __riscv_zvbb -#error Feature macro for `Zvbb' not defined +#error "Feature macro for `Zvbb' not defined" #endif #ifndef __riscv_zvkt -#error Feature macro for `Zvkt' not defined +#error "Feature macro for `Zvkt' not defined" #endif #ifndef __riscv_zvkg -#error Feature macro for `Zvkg' not defined +#error "Feature macro for `Zvkg' not defined" #endif int diff --git a/gcc/testsuite/gcc.target/riscv/zvks-1.c b/gcc/testsuite/gcc.target/riscv/zvks-1.c index 30d12539a9fb..a576cdb0476f 100644 --- a/gcc/testsuite/gcc.target/riscv/zvks-1.c +++ b/gcc/testsuite/gcc.target/riscv/zvks-1.c @@ -3,23 +3,23 @@ /* { dg-options "-march=rv32gc_zvksed_zvksh_zvbb_zvkt" { target { rv32 } } } */ #ifndef __riscv_zvks -#error Feature macro for `Zvks' not defined +#error "Feature macro for `Zvks' not defined" #endif #ifndef __riscv_zvksed -#error Feature macro for `Zvksed' not defined +#error "Feature macro for `Zvksed' not defined" #endif #ifndef __riscv_zvksh -#error Feature macro for `Zvksh' not defined +#error "Feature macro for `Zvksh' not defined" #endif #ifndef __riscv_zvbb -#error Feature macro for `Zvbb' not defined +#error "Feature macro for `Zvbb' not defined" #endif #ifndef __riscv_zvkt -#error Feature macro for `Zvkt' not defined +#error "Feature macro for `Zvkt' not defined" #endif int diff --git a/gcc/testsuite/gcc.target/riscv/zvks.c b/gcc/testsuite/gcc.target/riscv/zvks.c index 4af3a2a96ae9..d31b2610c202 100644 --- a/gcc/testsuite/gcc.target/riscv/zvks.c +++ b/gcc/testsuite/gcc.target/riscv/zvks.c @@ -3,23 +3,23 @@ /* { dg-options "-march=rv32gc_zvks" { target { rv32 } } } */ #ifndef __riscv_zvks -#error Feature macro for `Zvks' not defined +#error "Feature macro for `Zvks' not defined" #endif #ifndef __riscv_zvksed -#error Feature macro for `Zvksed' not defined +#error "Feature macro for `Zvksed' not defined" #endif #ifndef __riscv_zvksh -#error Feature macro for `Zvksh' not defined +#error "Feature macro for `Zvksh' not defined" #endif #ifndef __riscv_zvbb -#error Feature macro for `Zvbb' not defined +#error "Feature macro for `Zvbb' not defined" #endif #ifndef __riscv_zvkt -#error Feature macro for `Zvkt' not defined +#error "Feature macro for `Zvkt' not defined" #endif int diff --git a/gcc/testsuite/gcc.target/riscv/zvksc-1.c b/gcc/testsuite/gcc.target/riscv/zvksc-1.c index b547ae8efe2d..3b76e6cea706 100644 --- a/gcc/testsuite/gcc.target/riscv/zvksc-1.c +++ b/gcc/testsuite/gcc.target/riscv/zvksc-1.c @@ -3,31 +3,31 @@ /* { dg-options "-march=rv32gc_zvksed_zvksh_zvbb_zvkt_zvbc" { target { rv32 } } } */ #ifndef __riscv_zvksc -#error Feature macro for `Zvksc' not defined +#error "Feature macro for `Zvksc' not defined" #endif #ifndef __riscv_zvks -#error Feature macro for `Zvks' not defined +#error "Feature macro for `Zvks' not defined" #endif #ifndef __riscv_zvksed -#error Feature macro for `Zvksed' not defined +#error "Feature macro for `Zvksed' not defined" #endif #ifndef __riscv_zvksh -#error Feature macro for `Zvksh' not defined +#error "Feature macro for `Zvksh' not defined" #endif #ifndef __riscv_zvbb -#error Feature macro for `Zvbb' not defined +#error "Feature macro for `Zvbb' not defined" #endif #ifndef __riscv_zvkt -#error Feature macro for `Zvkt' not defined +#error "Feature macro for `Zvkt' not defined" #endif #ifndef __riscv_zvbc -#error Feature macro for `Zvbc' not defined +#error "Feature macro for `Zvbc' not defined" #endif int diff --git a/gcc/testsuite/gcc.target/riscv/zvksc-2.c b/gcc/testsuite/gcc.target/riscv/zvksc-2.c index d0623bbf16c3..b95e34ec6e46 100644 --- a/gcc/testsuite/gcc.target/riscv/zvksc-2.c +++ b/gcc/testsuite/gcc.target/riscv/zvksc-2.c @@ -3,31 +3,31 @@ /* { dg-options "-march=rv32gc_zvks_zvbc" { target { rv32 } } } */ #ifndef __riscv_zvksc -#error Feature macro for `Zvksc' not defined +#error "Feature macro for `Zvksc' not defined" #endif #ifndef __riscv_zvks -#error Feature macro for `Zvks' not defined +#error "Feature macro for `Zvks' not defined" #endif #ifndef __riscv_zvksed -#error Feature macro for `Zvksed' not defined +#error "Feature macro for `Zvksed' not defined" #endif #ifndef __riscv_zvksh -#error Feature macro for `Zvksh' not defined +#error "Feature macro for `Zvksh' not defined" #endif #ifndef __riscv_zvbb -#error Feature macro for `Zvbb' not defined +#error "Feature macro for `Zvbb' not defined" #endif #ifndef __riscv_zvkt -#error Feature macro for `Zvkt' not defined +#error "Feature macro for `Zvkt' not defined" #endif #ifndef __riscv_zvbc -#error Feature macro for `Zvbc' not defined +#error "Feature macro for `Zvbc' not defined" #endif int diff --git a/gcc/testsuite/gcc.target/riscv/zvksc.c b/gcc/testsuite/gcc.target/riscv/zvksc.c index f712aed7b8f9..983f1aa89ec9 100644 --- a/gcc/testsuite/gcc.target/riscv/zvksc.c +++ b/gcc/testsuite/gcc.target/riscv/zvksc.c @@ -3,31 +3,31 @@ /* { dg-options "-march=rv32gc_zvksc" { target { rv32 } } } */ #ifndef __riscv_zvksc -#error Feature macro for `Zvksc' not defined +#error "Feature macro for `Zvksc' not defined" #endif #ifndef __riscv_zvks -#error Feature macro for `Zvks' not defined +#error "Feature macro for `Zvks' not defined" #endif #ifndef __riscv_zvksed -#error Feature macro for `Zvksed' not defined +#error "Feature macro for `Zvksed' not defined" #endif #ifndef __riscv_zvksh -#error Feature macro for `Zvksh' not defined +#error "Feature macro for `Zvksh' not defined" #endif #ifndef __riscv_zvbb -#error Feature macro for `Zvbb' not defined +#error "Feature macro for `Zvbb' not defined" #endif #ifndef __riscv_zvkt -#error Feature macro for `Zvkt' not defined +#error "Feature macro for `Zvkt' not defined" #endif #ifndef __riscv_zvbc -#error Feature macro for `Zvbc' not defined +#error "Feature macro for `Zvbc' not defined" #endif int diff --git a/gcc/testsuite/gcc.target/riscv/zvksg-1.c b/gcc/testsuite/gcc.target/riscv/zvksg-1.c index ed1e4f73dfec..e6b30552e4ca 100644 --- a/gcc/testsuite/gcc.target/riscv/zvksg-1.c +++ b/gcc/testsuite/gcc.target/riscv/zvksg-1.c @@ -3,31 +3,31 @@ /* { dg-options "-march=rv32gc_zvksed_zvksh_zvbb_zvkt_zvkg" { target { rv32 } } } */ #ifndef __riscv_zvksg -#error Feature macro for `Zvksg' not defined +#error "Feature macro for `Zvksg' not defined" #endif #ifndef __riscv_zvks -#error Feature macro for `Zvks' not defined +#error "Feature macro for `Zvks' not defined" #endif #ifndef __riscv_zvksed -#error Feature macro for `Zvksed' not defined +#error "Feature macro for `Zvksed' not defined" #endif #ifndef __riscv_zvksh -#error Feature macro for `Zvksh' not defined +#error "Feature macro for `Zvksh' not defined" #endif #ifndef __riscv_zvbb -#error Feature macro for `Zvbb' not defined +#error "Feature macro for `Zvbb' not defined" #endif #ifndef __riscv_zvkt -#error Feature macro for `Zvkt' not defined +#error "Feature macro for `Zvkt' not defined" #endif #ifndef __riscv_zvkg -#error Feature macro for `Zvkg' not defined +#error "Feature macro for `Zvkg' not defined" #endif int diff --git a/gcc/testsuite/gcc.target/riscv/zvksg-2.c b/gcc/testsuite/gcc.target/riscv/zvksg-2.c index 4e6df2d55f84..2475e8bba1a3 100644 --- a/gcc/testsuite/gcc.target/riscv/zvksg-2.c +++ b/gcc/testsuite/gcc.target/riscv/zvksg-2.c @@ -3,31 +3,31 @@ /* { dg-options "-march=rv32gc_zvks_zvkg" { target { rv32 } } } */ #ifndef __riscv_zvksg -#error Feature macro for `Zvksg' not defined +#error "Feature macro for `Zvksg' not defined" #endif #ifndef __riscv_zvks -#error Feature macro for `Zvks' not defined +#error "Feature macro for `Zvks' not defined" #endif #ifndef __riscv_zvksed -#error Feature macro for `Zvksed' not defined +#error "Feature macro for `Zvksed' not defined" #endif #ifndef __riscv_zvksh -#error Feature macro for `Zvksh' not defined +#error "Feature macro for `Zvksh' not defined" #endif #ifndef __riscv_zvbb -#error Feature macro for `Zvbb' not defined +#error "Feature macro for `Zvbb' not defined" #endif #ifndef __riscv_zvkt -#error Feature macro for `Zvkt' not defined +#error "Feature macro for `Zvkt' not defined" #endif #ifndef __riscv_zvkg -#error Feature macro for `Zvkg' not defined +#error "Feature macro for `Zvkg' not defined" #endif int diff --git a/gcc/testsuite/gcc.target/riscv/zvksg.c b/gcc/testsuite/gcc.target/riscv/zvksg.c index e8a33f47ba41..4db9b5d6b9b1 100644 --- a/gcc/testsuite/gcc.target/riscv/zvksg.c +++ b/gcc/testsuite/gcc.target/riscv/zvksg.c @@ -3,31 +3,31 @@ /* { dg-options "-march=rv32gc_zvksg" { target { rv32 } } } */ #ifndef __riscv_zvksg -#error Feature macro for `Zvksg' not defined +#error "Feature macro for `Zvksg' not defined" #endif #ifndef __riscv_zvks -#error Feature macro for `Zvks' not defined +#error "Feature macro for `Zvks' not defined" #endif #ifndef __riscv_zvksed -#error Feature macro for `Zvksed' not defined +#error "Feature macro for `Zvksed' not defined" #endif #ifndef __riscv_zvksh -#error Feature macro for `Zvksh' not defined +#error "Feature macro for `Zvksh' not defined" #endif #ifndef __riscv_zvbb -#error Feature macro for `Zvbb' not defined +#error "Feature macro for `Zvbb' not defined" #endif #ifndef __riscv_zvkt -#error Feature macro for `Zvkt' not defined +#error "Feature macro for `Zvkt' not defined" #endif #ifndef __riscv_zvkg -#error Feature macro for `Zvkg' not defined +#error "Feature macro for `Zvkg' not defined" #endif int