]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: RISC-V: Skip tests using -mcpu= for ILP32E/ILP64E ABIs
authorDimitar Dimitrov <dimitar@dinux.eu>
Wed, 4 Dec 2024 15:51:11 +0000 (17:51 +0200)
committerDimitar Dimitrov <dimitar@dinux.eu>
Tue, 7 Jan 2025 19:06:36 +0000 (21:06 +0200)
commit3eaf74beac9c587edab13aa946b52a09b759d7fe
tree8d9e72aa5553d3fcaca8a38c8f80c303b01e26f6
parent62e7c496696eb68186616a2fa3654a876d21d695
testsuite: RISC-V: Skip tests using -mcpu= for ILP32E/ILP64E ABIs

The tests are specifying -mcpu with D extension, which is not compatible
with the ILP32E and ILP64E ABIs.  Fix by skipping the tests if toolchain's
default ABI is an E variant.

gcc/testsuite/ChangeLog:

* gcc.target/riscv/pr109508.c: Skip for E ABI.
* gcc.target/riscv/pr114139.c: Ditto.

Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
gcc/testsuite/gcc.target/riscv/pr109508.c
gcc/testsuite/gcc.target/riscv/pr114139.c