]> git.ipfire.org Git - thirdparty/gcc.git/commit
[RISC-V] Adjust recently added test
authorJeff Law <jlaw@ventanamicro.com>
Sat, 6 Sep 2025 14:34:03 +0000 (08:34 -0600)
committerJeff Law <jlaw@ventanamicro.com>
Sat, 6 Sep 2025 14:34:03 +0000 (08:34 -0600)
commit477868c59ed6d8192d16661c17b94201153cb88c
treea37295820e52592203066108b549ea9c8a700b4a
parent014873fdf4bb2e00d704f182aa78b3022019ef48
[RISC-V] Adjust recently added test

The recently added zbb-sext test includes stdint.h and explicitly asks for the
lp64 abi (not lp64d!).

This will fail on a native riscv system as the system headers don't support
lp64 -- they assume "d" is included.

It looks like most tests are including stdint-gcc instead of stdint.  Not a fan
of that, but it seems to be how we've been handling this kind of issue to-date.

gcc/testsuite
* gcc.target/riscv/zbb-sext.c: Include stdint-gcc.h instead of
stdint.h.
gcc/testsuite/gcc.target/riscv/zbb-sext.c