Hi! On 2024-08-19T13:14:02-0700, Edwin Lu <e...@rivosinc.com> wrote: > The testcase has been modified to include the -fwrapv flag which now > causes the test to pass. Remove the xfail exception
> --- a/gcc/testsuite/gcc.dg/signbit-5.c > +++ b/gcc/testsuite/gcc.dg/signbit-5.c > @@ -4,7 +4,6 @@ > /* This test does not work when the truth type does not match vector type. > */ > /* { dg-additional-options "-march=armv8-a" { target aarch64_sve } } */ > /* { dg-xfail-run-if "truth type does not match vector type" { amdgcn-*-* } > } */ > -/* { dg-xfail-run-if "truth type does not match vector type" { riscv_v } } */ Same thing for GCN; I've pushed to trunk branch commit 2daf6187c7289d012365419e10995042139cf8f5 "Un-XFAIL 'gcc.dg/signbit-5.c' for GCN", see attached. Grüße Thomas
>From 2daf6187c7289d012365419e10995042139cf8f5 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge <tschwi...@baylibre.com> Date: Tue, 27 Aug 2024 12:37:29 +0200 Subject: [PATCH] Un-XFAIL 'gcc.dg/signbit-5.c' for GCN It XPASSes after recent commit 5a3387938d4d95717cac29eecd0ba53e0ef9094d "testsuite: Add -fwrapv to signbit-5.c". gcc/testsuite/ * gcc.dg/signbit-5.c: Un-XFAIL for GCN. --- gcc/testsuite/gcc.dg/signbit-5.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/signbit-5.c b/gcc/testsuite/gcc.dg/signbit-5.c index e65c8910c82..57e29e3ca63 100644 --- a/gcc/testsuite/gcc.dg/signbit-5.c +++ b/gcc/testsuite/gcc.dg/signbit-5.c @@ -3,7 +3,6 @@ /* This test does not work when the truth type does not match vector type. */ /* { dg-additional-options "-march=armv8-a" { target aarch64_sve } } */ -/* { dg-xfail-run-if "truth type does not match vector type" { amdgcn-*-* } } */ #include <stdint.h> -- 2.34.1