From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1285) id D4378385B514; Tue, 29 Nov 2022 10:47:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D4378385B514 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669718838; bh=rqD6RZf8ojtJBTqlAB0tXKfvtPGSg95x1DPA7b1NhVk=; h=From:To:Subject:Date:From; b=OWUM5fxKT3HlTc4xJk/0tiCCqIOUgOgoyce1sBTGuFaBcABKXc/AAI8of4rWnsSgN bf+6Wz4xPtImoTvAt1zl7LfdA2d88l4+cNopXI5RjT80jjicXY2rOVhWNAaNNh8Ti2 KovoMgydx4rnIwgeVFKKWLKAb4Dmzs1NDZxGhbUI= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Eric Botcazou To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-4387] Couple of testsuite adjustments X-Act-Checkin: gcc X-Git-Author: Eric Botcazou X-Git-Refname: refs/heads/master X-Git-Oldrev: 1ad898d82707376313d97bb81cf40c225b05bacf X-Git-Newrev: ffabce849033e57ebaf60029822b81e981681c21 Message-Id: <20221129104718.D4378385B514@sourceware.org> Date: Tue, 29 Nov 2022 10:47:18 +0000 (GMT) List-Id: https://gcc.gnu.org/g:ffabce849033e57ebaf60029822b81e981681c21 commit r13-4387-gffabce849033e57ebaf60029822b81e981681c21 Author: Eric Botcazou Date: Tue Nov 29 11:43:32 2022 +0100 Couple of testsuite adjustments gcc/testsuite/ * gcc.dg/ipa/iinline-attr.c: XFAIL on SPARC. * gcc.dg/signbit-2.c: Replace vect_int selector by vect_shift. Diff: --- gcc/testsuite/gcc.dg/ipa/iinline-attr.c | 4 ++-- gcc/testsuite/gcc.dg/signbit-2.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gcc/testsuite/gcc.dg/ipa/iinline-attr.c b/gcc/testsuite/gcc.dg/ipa/iinline-attr.c index 6309afe50f0..4b9e8574795 100644 --- a/gcc/testsuite/gcc.dg/ipa/iinline-attr.c +++ b/gcc/testsuite/gcc.dg/ipa/iinline-attr.c @@ -23,5 +23,5 @@ int test (void) return 0; } -/* { dg-final { scan-ipa-dump "hooray\[^\\n\]*inline copy in test" "inline" { xfail visium-*-* } } } */ -/* Missing back-end support for attribute __optimize__ on Visium. */ +/* { dg-final { scan-ipa-dump "hooray\[^\\n\]*inline copy in test" "inline" { xfail sparc*-*-* visium-*-* } } } */ +/* Missing back-end support for attribute __optimize__ on SPARC and Visium. */ diff --git a/gcc/testsuite/gcc.dg/signbit-2.c b/gcc/testsuite/gcc.dg/signbit-2.c index 99a455bc7d7..16242258207 100644 --- a/gcc/testsuite/gcc.dg/signbit-2.c +++ b/gcc/testsuite/gcc.dg/signbit-2.c @@ -1,5 +1,5 @@ -/* { dg-do assemble } */ -/* { dg-options "-O3 --save-temps -fdump-tree-optimized" } */ +/* { dg-do compile } */ +/* { dg-options "-O3 -fdump-tree-optimized" } */ /* This test does not work when the truth type does not match vector type. */ /* { dg-additional-options "-mno-avx512f" { target { i?86-*-* x86_64-*-* } } } */ @@ -21,6 +21,6 @@ void fun2(int32_t *x, int n) } /* Xfail amdgcn where vector truth type is not integer type. */ -/* { dg-final { scan-tree-dump {\s+>\s+\{ 0(, 0)+ \}} optimized { target vect_int xfail amdgcn-*-* } } } */ -/* { dg-final { scan-tree-dump {\s+>\s+0} optimized { target { ! vect_int } } } } */ +/* { dg-final { scan-tree-dump {\s+>\s+\{ 0(, 0)+ \}} optimized { target vect_shift xfail amdgcn-*-* } } } */ +/* { dg-final { scan-tree-dump {\s+>\s+0} optimized { target { ! vect_shift } } } } */ /* { dg-final { scan-tree-dump-not {\s+>>\s+31} optimized { xfail amdgcn-*-* } } } */