From patchwork Mon May 15 08:21:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Biener X-Patchwork-Id: 93956 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp6754853vqo; Mon, 15 May 2023 01:22:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6LJdgMl9e+o9BzGy3XQ+wXSx9Q/IFHbPI0KIJrYSvCxYDXs9WA9Tl7wF5BDaFArXR/Rg5k X-Received: by 2002:a17:907:7fa2:b0:932:4255:5902 with SMTP id qk34-20020a1709077fa200b0093242555902mr32572371ejc.76.1684138963778; Mon, 15 May 2023 01:22:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684138963; cv=none; d=google.com; s=arc-20160816; b=yPJ4kIYN1wGmTAE/t2j0pEMpUN7A6jKX1JcJUoi+Udobh/7xwuzQYPr5z+GoSipv5b NQO2sRwhf7szSDydcNQn6L2QRgCg7TpjyhO0HJDf1Bbf1uGN4IklSiPxJQrl1u64NHjQ Ho/QQUjLdLS6zBX3k2TXQ/lF6KmVgJdWx03xQjjOGgIT5D2nHDP1CYj5MR5Ud1OYAelb IYjWF7Vxj+fvPHr3RvsWsEk2/FcEDuNnN6+kjp3ARWmWh2ZoA2nFQYETfaVnOsrl9vNn OCoyo18TL3dTS9lkQKc2W14J6JTsuV78UtoMUMTkQpaOuLpsiAy84WvYKEjgegAleTy3 Lzbw== 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:message-id :mime-version:subject:to:date:dmarc-filter:delivered-to :dkim-signature:dkim-filter; bh=3T5o/nn1K01X6HphqW+Lf3xyFjt+HY49kpuIuK3zA0w=; b=FsB7BzO8aBF+JJ235E+KRWeu69BV9T/f/hT5yqvDAjjjrNpV55PjLPiei4XHjxzO41 AGZX0GNFYtlaQFkQgv20od+wVcF+6XSjfPb6PcXh/DZ1xD/1OT2RyBEfqaRByMx+LgfJ Ypb1K+xSAVTFbxDotT7yBIc1UB3aeSnNZeVF5v7o/JKQsTOycKQpsQD0hfLSUWMnqFqK jIV3RueclMI5uS++Mr5etsIvgIH96Y5U1wCWLm5ELIFvwHw7coKVm8D+RS/YZZlAVi2U G5yYgZ830FZ4X7Dgw5DTyWYOIjEEXdKkfbfxue1YEnt8+CBKYCoZHuu4CZeLDQEsA9dq DbFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=A6lYrRol; 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 sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id r3-20020a170906c28300b009572bea66ddsi12004220ejz.250.2023.05.15.01.22.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 May 2023 01:22:43 -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=A6lYrRol; 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 2D8713856278 for ; Mon, 15 May 2023 08:22:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2D8713856278 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684138947; bh=3T5o/nn1K01X6HphqW+Lf3xyFjt+HY49kpuIuK3zA0w=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=A6lYrRol+yxNeJUjhc3CF1DhzxHAQyABB5cZ4djAnUUFp5xNqbTHweBMpUzHyXzW7 4ceUskKeY4X4yY0m9CqWNZ1/29/hSLF/ZQd9zI3SzaRpLjdBhST94gOIysFGvQG8Km Hd3FOfKIxZZPOPqgxBp545DvqEAThhdsAtt1ocs4= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by sourceware.org (Postfix) with ESMTPS id 3EB4E385841E for ; Mon, 15 May 2023 08:21:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3EB4E385841E Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 6CADC1F37F for ; Mon, 15 May 2023 08:21:37 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 4BC95138E5 for ; Mon, 15 May 2023 08:21:37 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 7a5EEZHrYWR2JwAAMHmgww (envelope-from ) for ; Mon, 15 May 2023 08:21:37 +0000 Date: Mon, 15 May 2023 10:21:36 +0200 (CEST) To: gcc-patches@gcc.gnu.org Subject: [PATCH] Fix gcc.dg/vect/pr108950.c MIME-Version: 1.0 Message-Id: <20230515082137.4BC95138E5@imap2.suse-dmz.suse.de> X-Spam-Status: No, score=-11.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, 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 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: Richard Biener via Gcc-patches From: Richard Biener Reply-To: Richard Biener 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?1765947697798418306?= X-GMAIL-MSGID: =?utf-8?q?1765947697798418306?= The following puts the dg-require-effective-target properly after the dg-do. Tested on ppc64le pushed to all affected branches. * gcc.dg/vect/pr108950.c: Re-order dg-require-effective-target and dg-do. --- gcc/testsuite/gcc.dg/vect/pr108950.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/vect/pr108950.c b/gcc/testsuite/gcc.dg/vect/pr108950.c index ecf076c964b..563c4b9df38 100644 --- a/gcc/testsuite/gcc.dg/vect/pr108950.c +++ b/gcc/testsuite/gcc.dg/vect/pr108950.c @@ -1,5 +1,5 @@ -/* { dg-require-effective-target vect_simd_clones } */ /* { dg-do compile } */ +/* { dg-require-effective-target vect_simd_clones } */ int m; short int n;