]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Disable late-combine in another RISC-V test
authorJeff Law <jlaw@ventanamicro.com>
Sun, 25 Aug 2024 13:24:56 +0000 (07:24 -0600)
committerJeff Law <jlaw@ventanamicro.com>
Sun, 25 Aug 2024 13:24:56 +0000 (07:24 -0600)
Another test where the output was slightly twiddled by late-combine in which
simply disabling late-combine seems to be the best option.

> Running /home/jlaw/test/gcc/gcc/testsuite/gcc.target/riscv/riscv.exp ...
> FAIL: gcc.target/riscv/cm_mv_rv32.c   -Os   check-function-bodies sum

Pushing to the trunk.

gcc/testsuite
* gcc.target/riscv/cm_mv_rv32.c: Disable late-combine.

gcc/testsuite/gcc.target/riscv/cm_mv_rv32.c

index 2c1b3f9cabf91b8612dc129246e9dc947ae870ce..e2369fc4d2d3055b22f5858e364acaa5c60dc5f7 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options " -Os -march=rv32i_zca_zcmp -mabi=ilp32 " } */
+/* { dg-options " -Os -march=rv32i_zca_zcmp -mabi=ilp32 -fno-late-combine-instructions " } */
 /* { dg-skip-if "" { *-*-* } {"-O0" "-O1" "-O2" "-Og" "-O3" "-Oz" "-flto"} } */
 /* { dg-final { check-function-bodies "**" "" } } */