]> gcc.gnu.org Git - gcc.git/commit
testsuite: Fix _BitInt in gcc.misc-tests/godump-1.c
authorStefan Schulze Frielinghaus <stefansf@linux.ibm.com>
Thu, 26 Oct 2023 06:41:24 +0000 (08:41 +0200)
committerStefan Schulze Frielinghaus <stefansf@linux.ibm.com>
Thu, 26 Oct 2023 06:41:24 +0000 (08:41 +0200)
commit88df58b7ee998250fee80819b638110a4a56b732
tree5f2c3450dd308d3605eddbf7c7836c76f2ba86df
parent3dfe7e2d556580300b739f545c9d13213264e282
testsuite: Fix _BitInt in gcc.misc-tests/godump-1.c

Currently _BitInt is only supported on x86_64 which means that for other
targets all tests fail with e.g.

gcc.misc-tests/godump-1.c:237:1: sorry, unimplemented: '_BitInt(32)' is not supported on this target
  237 | _BitInt(32) b32_v;
      | ^~~~~~~

Instead of requiring _BitInt support for godump-1.c, move _BitInt tests
into godump-2.c such that all other tests in godump-1.c are still
executed in case of missing _BitInt support.

gcc/testsuite/ChangeLog:

* gcc.misc-tests/godump-1.c: Move _BitInt tests into godump-2.c.
* gcc.misc-tests/godump-2.c: New test.
gcc/testsuite/gcc.misc-tests/godump-1.c
gcc/testsuite/gcc.misc-tests/godump-2.c [new file with mode: 0644]
This page took 0.182372 seconds and 5 git commands to generate.