]> git.ipfire.org Git - thirdparty/gcc.git/commit
[committed] RISC-V: Fix minor testsuite problem with zicond
authorJeff Law <jlaw@ventanamicro.com>
Fri, 25 Aug 2023 22:23:06 +0000 (16:23 -0600)
committerJeff Law <jlaw@ventanamicro.com>
Fri, 25 Aug 2023 22:27:29 +0000 (16:27 -0600)
commit3cd2b73079bac374ce1c542b9c9e354e00a8713d
tree602cccd2fe418213b4b60a73bdda9423971266c0
parent30699b999e94b66ff8706d3b07a35b2a9554d10c
[committed] RISC-V: Fix minor testsuite problem with zicond

I thought I had already fixed this, but clearly if I did, I didn't include it
in any upstream commits.

With -Og the optimizers are hindered in various ways and this prevents using
zicond.  So skip this test with -Og (it was already being skipped at -O0).

gcc/testsuite
* gcc.target/riscv/zicond-primitiveSemantics.c: Disable for -Og.
gcc/testsuite/gcc.target/riscv/zicond-primitiveSemantics.c