On 7/20/24 01:58, Sam James wrote:
FAIL: gcc.dg/pr116003.c (test for excess errors) Excess errors: /home/tcwg-buildslave/workspace/tcwg_gnu_5/abe/snapshots/gcc.git~master/gcc/testsuite/gcc.dg/pr116003.c:4:1: sorry, unimplemented: '_BitInt(5)' is not supported on this target /home/tcwg-buildslave/workspace/tcwg_gnu_5/abe/snapshots/gcc.git~master/gcc/testsuite/gcc.dg/pr116003.c:8:1: sorry, unimplemented: '_BitInt(129)' is not supported on this target /home/tcwg-buildslave/workspace/tcwg_gnu_5/abe/snapshots/gcc.git~master/gcc/testsuite/gcc.dg/pr116003.c:11:5: sorry, unimplemented: '_BitInt(128)' is not supported on this targetI think it needs dg-do compile { target bitint }.
Indeed, thanks. Pushed. Andrew
commit 320c0d49dd5d7d96443b8ee2fde3cce533eaa761 Author: Andrew MacLeod <[email protected]> Date: Sat Jul 20 11:45:16 2024 -0400 Add bitint to options for testcase Testcase should only be for bitint targets gcc/testsuite/ * gcc.dg/pr116003.c : Add target bitint. diff --git a/gcc/testsuite/gcc.dg/pr116003.c b/gcc/testsuite/gcc.dg/pr116003.c index 6021058a14e..970b1539c48 100644 --- a/gcc/testsuite/gcc.dg/pr116003.c +++ b/gcc/testsuite/gcc.dg/pr116003.c @@ -1,4 +1,4 @@ -/* { dg-do compile } */ +/* { dg-do compile { target bitint } } */ /* { dg-options "-O2 -fnon-call-exceptions -fprofile-arcs -finstrument-functions -fno-tree-copy-prop" } */ _BitInt(5) b5;
