https://gcc.gnu.org/g:12fb83c7f94ad3a2b73a940f045ab6ec70f87d8b
commit 12fb83c7f94ad3a2b73a940f045ab6ec70f87d8b Author: Jeff Law <j...@ventanamicro.com> Date: Sun Aug 25 07:24:56 2024 -0600 Disable late-combine in another RISC-V test 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. (cherry picked from commit 70edccf88738ec204036e498a4a50c46e5e4f0c0) Diff: --- gcc/testsuite/gcc.target/riscv/cm_mv_rv32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/riscv/cm_mv_rv32.c b/gcc/testsuite/gcc.target/riscv/cm_mv_rv32.c index 2c1b3f9cabf9..e2369fc4d2d3 100644 --- a/gcc/testsuite/gcc.target/riscv/cm_mv_rv32.c +++ b/gcc/testsuite/gcc.target/riscv/cm_mv_rv32.c @@ -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 "**" "" } } */