Message ID | 20210304140146.dvz5cq6iyul6mojg@arm.com |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-bounces@gcc.gnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces@gcc.gnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=pgQPKQxI; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Drsxb4k1Fz9sRf for <incoming@patchwork.ozlabs.org>; Fri, 5 Mar 2021 01:02:10 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1B87C39DC4F7; Thu, 4 Mar 2021 14:02:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1B87C39DC4F7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1614866528; bh=Icsbg3hGqKw8NSYsEXdEarCnnaq/rTLwXka44tjLWF8=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=pgQPKQxI0dpFJ0UwHYJ1eM9kr5uu/nNCBwxBib7D2hEDNHsspG06Y/umXA5PKyC3Q Z/lGQ1FSBXQzF+aDYRQgf/ZqRmp+ImEJpvlJhuWfJlRuuoXtZHQwQviCuF664UJ4ZW CD345Zu+P9L8kpG3vwbMoWc9e7bqjTu4jEv0HX8U= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70088.outbound.protection.outlook.com [40.107.7.88]) by sourceware.org (Postfix) with ESMTPS id 06E9D3AA7CA3 for <gcc-patches@gcc.gnu.org>; Thu, 4 Mar 2021 14:02:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 06E9D3AA7CA3 Received: from AS8PR04CA0171.eurprd04.prod.outlook.com (2603:10a6:20b:331::26) by PAXPR08MB6448.eurprd08.prod.outlook.com (2603:10a6:102:152::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3890.19; Thu, 4 Mar 2021 14:02:02 +0000 Received: from AM5EUR03FT020.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:331:cafe::48) by AS8PR04CA0171.outlook.office365.com (2603:10a6:20b:331::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.17 via Frontend Transport; Thu, 4 Mar 2021 14:02:02 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; gcc.gnu.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;gcc.gnu.org; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT020.mail.protection.outlook.com (10.152.16.116) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.17 via Frontend Transport; Thu, 4 Mar 2021 14:02:02 +0000 Received: ("Tessian outbound fd2ca1c1d73d:v71"); Thu, 04 Mar 2021 14:02:02 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 706ef006869b3d59 X-CR-MTA-TID: 64aa7808 Received: from f4b674ebbade.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 749AEF49-6EDF-4162-8023-1351CB58D40F.1; Thu, 04 Mar 2021 14:01:56 +0000 Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id f4b674ebbade.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 04 Mar 2021 14:01:56 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IzKHi3yKXQ3X28BDfCbN4HCFP71Hb0zDjbEQKPZp+bgkltKA9vZFycyBJ4KKReNjLiSyx5dv4tGke2jaO82nx5cXSgjvkqR23cYh0Q/zOXLp9ELoiuU7FS2wjFp4vkh379mT5tWYnMl2/gAxa56DaPr6ncGRC42eL0cP2g6DlJT4rfYYeTNLXmki+eK0y3oz8Spqku8aL/D3vdfG4lP6bIJ5zfx6u8CFBvwR1qm3xuTJxCJhZg3d8a8KNR6x9fi8k+HbSh4XHjmg8d/K1ubS74DmGj+aCayzN8yoDhT0WZvmHNP+G2LIyiH1pLIpmClqiFF9immkP6uYTa40+HwPdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Icsbg3hGqKw8NSYsEXdEarCnnaq/rTLwXka44tjLWF8=; b=RuOf0TM9r3y2g79JtQ1rK29B9wqB7FbtXI2VpmL8m/kIM2OKUf3McGkrlPhSc5ony4iglfWUEXI05Y3kYXuxUGt0p41iBIkg8oi2m7dM1rdorisMtsZpE3NcRwPjo3/8aKVFg0s+uFMnPMkA5kOm5ggxuEtBHtvbPWtgZpvzaF9hUc/wF1Xk9AYGmb0cDM1vsZGGMr/RNJdtyDVybg37mG5SzL7Xl8izymY19RBjI8g2ytOQ4nOwkZaEFhtX4C3gx5ycgbrOKCstRrNxuxwagd9TUb7XCLj/ZO65pHy8z4HAzto4iHGI0o7sR8qBs02ZFH9kELkHjk86hsUyFNlerg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Authentication-Results-Original: gcc.gnu.org; dkim=none (message not signed) header.d=none;gcc.gnu.org; dmarc=none action=none header.from=arm.com; Received: from VI1PR08MB4029.eurprd08.prod.outlook.com (2603:10a6:803:ec::14) by VE1PR08MB5773.eurprd08.prod.outlook.com (2603:10a6:800:1a9::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3890.19; Thu, 4 Mar 2021 14:01:54 +0000 Received: from VI1PR08MB4029.eurprd08.prod.outlook.com ([fe80::91e5:a54c:eda6:49b2]) by VI1PR08MB4029.eurprd08.prod.outlook.com ([fe80::91e5:a54c:eda6:49b2%4]) with mapi id 15.20.3912.022; Thu, 4 Mar 2021 14:01:54 +0000 Date: Thu, 4 Mar 2021 14:01:46 +0000 To: gcc-patches@gcc.gnu.org Subject: [PATCH] aarch64: Add missing error_mark_node check [PR99381] Message-ID: <20210304140146.dvz5cq6iyul6mojg@arm.com> Content-Type: multipart/mixed; boundary="zuduws25fcuefslr" Content-Disposition: inline User-Agent: NeoMutt/20171215 X-Originating-IP: [217.140.106.53] X-ClientProxiedBy: SA0PR11CA0067.namprd11.prod.outlook.com (2603:10b6:806:d2::12) To VI1PR08MB4029.eurprd08.prod.outlook.com (2603:10a6:803:ec::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from arm.com (217.140.106.53) by SA0PR11CA0067.namprd11.prod.outlook.com (2603:10b6:806:d2::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.17 via Frontend Transport; Thu, 4 Mar 2021 14:01:53 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 52e058f3-cecf-490c-00cb-08d8df1615d8 X-MS-TrafficTypeDiagnostic: VE1PR08MB5773:|PAXPR08MB6448: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <PAXPR08MB64482B0426976AFDBF900639EA979@PAXPR08MB6448.eurprd08.prod.outlook.com> x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:9508;OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: GeFbUkUHBQu9vuRwtU9ZbU+C5TJSz1yU7QhUZg/W70dDjvNfKYy6/2syREkpziDem3tJac7e/KBuUjVG7ZweIZ37e9DkzoDjbM1JH2QPUtk4lC7QCn8bcgZFcyDB8ajGIU36nK8z+y+mPsZAW02ispxt4JKTKQ7AobiOw1fr08X6M47+ESaqh4YqzwaR+z+iott2yaUKlEZzkrdRNWCoa9xdsfeWBbVDCZUaKZrIc20zdKmmjisRb0KYANkIAj0kRm4qhAlTZfeI/+TAxU2iBaeMw+U3G8mh+SKGt3cRtWZtIS++eU9aJBRBZUTQS/9itUXA+uIu6JdPRDnYU/jZHjHqUfGe8z2+YspCrilQEzp2hzdwJNxAbnOid+ekvzJg8jDjyQJkKReWqoqXTDDlUjpe0wMK/wpIwzPYSoeqOSTDyZDwkmDMUlMJZInjxeJVy4PgWnuFyHiMoz/lDPAFG2muoWlPDEvATHMMrHd77itn7ZFQRzb9SqyJtqKkSOAXl3mmVsMK4qRYKGL/0HBEUqjFUfUs4xFsgvwaM2G71qXoz8kH3Fy130N/+8ZG871GzSJGZ4t7smbBDVwlM33mPw== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR08MB4029.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(366004)(39860400002)(376002)(346002)(396003)(956004)(2616005)(55016002)(21480400003)(86362001)(44832011)(4326008)(7696005)(1076003)(26005)(478600001)(44144004)(186003)(33964004)(6666004)(8886007)(5660300002)(52116002)(235185007)(66556008)(2906002)(36756003)(8676002)(8936002)(16526019)(6916009)(316002)(66946007)(66616009)(66476007)(54906003)(2700100001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?q?v1fildOKTzmjBh88dudDhiGIKP5bT0?= =?utf-8?q?CmddYqq+33+1eZzpTT/D0yy18a931AAE4VecDLg6fHocRSsm6qWziGYNPeLYnDgiy?= =?utf-8?q?vZd8+HXR1uhOTDP9FRNlRABfHNZclg+CW1UG72jkJUrFW/f1D7R41jGcjePaAgAmQ?= =?utf-8?q?fbqYV2xWvZ2TN8v56xXn21T8jlU2y5s7smEm42vSbC6X/812YBH8MU2V4f5clo2s2?= =?utf-8?q?iRcbOFS6J+sW7qGpZKMcKWGwBuTESUY2Omq1jDntM7weLNwvv4f//nSw2wUCbq4Y7?= =?utf-8?q?M1GyFV9VHnwCgRCm2tNOoShCUJMEtDc2fXEqu81E29mSG0qf/rihFr7N1xIOZHxNk?= =?utf-8?q?EOE4alAbrFSMWuEZTM3lQfn/1sANgK8MCSv2Jio2WIe81VPXBWXsh5ur8FkcTlP0K?= =?utf-8?q?MPIIwUDzUQEHLfgt2hweyZFecc+tFj89jE1pxmmSf+Dk2sO46xFoVJBpf4YJEQeIo?= =?utf-8?q?ukt3z5p/cPgKp+tOX2BeWv4nacWyf1jKvIvywkcGFofMg8wKI+67JwVl7t+prfiYR?= =?utf-8?q?ekMDOOlfHy3OulkRZwHJ3LSwPUMWtCHxBtn6KRzNCGjHuYYMq3A95UkkjsecGVFNj?= =?utf-8?q?QuJ9eQWBJOD/UFI+TbRV0ONR6mZ54X5VSCKnnhYLTyQEzz20Js6W5iKiPqDlkfCsQ?= =?utf-8?q?Zjk29zpEmus91bLQbbcP4bKTjJ1Q9iNof348wtPBPkru2QDpSTPvlAnSMELjPtsT+?= =?utf-8?q?7vU7tE7heDZXXTxtvCSNZ3HwKKvzulJl90dijlxJKfjCReE8SyeFFUmH+t3skOZka?= =?utf-8?q?Oqnr5zVqO8NzStpglSc/v3s3bXX+D1L+5fVvpRjDvW1Wkx4igpYSEvTiajwKDDHFw?= =?utf-8?q?CjXZZe714KAIudzLJhaEh50SAUPa1JW0YgqdhzEQAaHKUNifnuP+wMhY4rILJ5fPz?= =?utf-8?q?WhVjzfOSwIWwBUiMesbfUMXpNAJ8WtzfNho4UsquOT3dtYARHuDU6TxOlXFa1cZvT?= =?utf-8?q?5LxtOJw6TcBE83Pwvr2NDpVvoDThz2fQfyjxZ3+6IK31qGCtd+XQDtfIMRK63YPHE?= =?utf-8?q?S4ZYXIBE99VqIX7ayJZUuUGXjpDNanaSYJZxa5IcVmiJKs3Y2qx8WLITGu7+rA4T2?= =?utf-8?q?AtoD5OGbO0+iKVWYpggwrSm08PJnwq2b13ki1NGZ3qkeGB6XCNgkeMSHwc6clImiK?= =?utf-8?q?flgiK2+lp2t8lwUNTjXDyhd0jaC0QyGvg/KJ0MesW9Ieag0WSke7iosQ8lZf5WnCu?= =?utf-8?q?S8GB6OStmnJEfNQg19afGGFN5VRa/yp1XHPoR4iuAQyiPretTHFJudfUadmDvEj2/?= =?utf-8?q?hf7DbmAeyEcpws?= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5773 Original-Authentication-Results: gcc.gnu.org; dkim=none (message not signed) header.d=none;gcc.gnu.org; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT020.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: ebfe454e-1131-472b-99b2-08d8df161159 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: q7O9c+kdnhR4nXuNFykqCVK1TT91FuKyJIKPEcP9jaq1mNq6VFL9TPS75VJ8/p72xf7jyLMI5SWjfZoU2ozys8HupAcsofvRRqmrhhX/fQwI0wVOHZ2BXYNAtWxmjgdLF8ZXeKW9HnZLjDTzqODzqBQIM3RvzgtqZE+iNaXn0BZKK0LeoZRSUPlcB0JQvZvN/uc9Ke0htvzkDaJSI8VW6bPn1COdCp0NXodMtWPNMkv7rm3wlGOktj7PlS2/Acj4dbMWk1xob3WhOJUmNHmnpoqBlJ8Jnp6YhmNnqjytJgkHY0p9XUFZ1Y+3+HLT7b1Bm5xdX+AUbilN9WLfzTab6HrRBxe18y03blRcOmqWA9gDAo47wjqDJFmebwcJx5ELIf5Wq+zdnj8W8uKeI01ZqxMBUddIQQ03JvaPnGW5IaD9sr2m5BMr7xhiYpwiOVknHxHtnPQxKJmyIq9hWpT4n3YK07u1yvO0yth0qsiWEUd2zRDdlpNZNVVcu9GsTgcfWe+oVlzBZiw4Z7ZNGZZlB5rXsq4HW/9sWny0zCCOu2rYQ+9UMxT9YRMuL617jqXjWbDZBMIP/S1SoT0RJmge8EYwG47QTPWm9HOmSuPI/huGj7YGvTBLy9mtQOqCw95aFoCqBa2+InnkZLJDvspbKOlQKoQ87EP7hpFfxZIfe1CeVubeClDLF2pW8pHBNAYD X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(4636009)(396003)(346002)(39860400002)(136003)(376002)(36840700001)(46966006)(1076003)(36860700001)(7696005)(26005)(4326008)(478600001)(82310400003)(6666004)(36756003)(21480400003)(70206006)(54906003)(66616009)(956004)(86362001)(356005)(70586007)(8886007)(44144004)(8676002)(5660300002)(33964004)(235185007)(316002)(336012)(44832011)(2906002)(8936002)(6916009)(82740400003)(2616005)(55016002)(81166007)(186003)(47076005)(16526019)(2700100001); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Mar 2021 14:02:02.1087 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 52e058f3-cecf-490c-00cb-08d8df1615d8 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM5EUR03FT020.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6448 X-Spam-Status: No, score=-14.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, MSGID_FROM_MTA_HEADER, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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 <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> From: Alex Coplan via Gcc-patches <gcc-patches@gcc.gnu.org> Reply-To: Alex Coplan <alex.coplan@arm.com> Cc: Richard Earnshaw <richard.earnshaw@arm.com>, Richard Sandiford <richard.sandiford@arm.com> Errors-To: gcc-patches-bounces@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces@gcc.gnu.org> |
Series |
aarch64: Add missing error_mark_node check [PR99381]
|
expand
|
Alex Coplan <alex.coplan@arm.com> writes: > Hi! > > As the PR shows, we were missing a check in > function_resolver::require_vector_type to see if the argument type was already > invalid. This was causing us to attempt to emit a diagnostic and subsequently > ICE in print_type. Fixed thusly. > > Bootstrapped and regtested on aarch64-linux-gnu. OK for trunk? > > Thanks, > Alex > > --- > > gcc/ChangeLog: > > PR target/99381 > * config/aarch64/aarch64-sve-builtins.cc > (function_resolver::require_vector_type): Handle error_mark_node. > > gcc/testsuite/ChangeLog: > > * gcc.target/aarch64/pr99381.c: New test. OK, thanks. It would be good to backport to GCC 10 too if possible (pre-approved). Richard
diff --git a/gcc/config/aarch64/aarch64-sve-builtins.cc b/gcc/config/aarch64/aarch64-sve-builtins.cc index 6270b51fbf4..25612d2ea52 100644 --- a/gcc/config/aarch64/aarch64-sve-builtins.cc +++ b/gcc/config/aarch64/aarch64-sve-builtins.cc @@ -1467,6 +1467,9 @@ function_resolver::require_vector_type (unsigned int argno, { tree expected = acle_vector_types[0][type]; tree actual = get_argument_type (argno); + if (actual == error_mark_node) + return false; + if (!matches_type_p (expected, actual)) { error_at (location, "passing %qT to argument %d of %qE, which" diff --git a/gcc/testsuite/gcc.target/aarch64/pr99381.c b/gcc/testsuite/gcc.target/aarch64/pr99381.c new file mode 100644 index 00000000000..8b4c5b82f68 --- /dev/null +++ b/gcc/testsuite/gcc.target/aarch64/pr99381.c @@ -0,0 +1,10 @@ +/* { dg-do compile } */ +/* { dg-options "-march=armv8-a" } */ +/* PR99381: we shouldn't ICE if the user forgets -march=armv8.2-a+sve. */ + +#include <arm_sve.h> +_Bool a; +int main() +{ + a = svaddv(svptrue_b8(), svdup_s8(0)); /* { dg-error "ACLE function 'svptrue_b8' requires ISA extension 'sve'" } */ +}