Just a minor update to Dimitar's patch for the RISC-V testcase.
The cfi directives are not emitted for the -elf configurations causing
the new test to fail. The cfi directives (and associated labels) don't
seem relevant to the test at hand, so this just drops them.
Pushing to the trunk.
jeff
commit 951f3ccefca097d483aef1f65a283c8c68b73ab6
Author: Jeff Law <[email protected]>
Date: Sat Dec 6 09:01:11 2025 -0700
Adjust expected output of new risc-v test
Just a minor update to Dimitar's patch for the RISC-V testcase.
The cfi directives are not emitted for the -elf configurations causing the
new
test to fail. The cfi directives (and associated labels) don't seem
relevant
to the test at hand, so this just drops them.
Pushing to the trunk.
PR rtl-optimization/122675
gcc/testsuite
* gcc.target/riscv/pr122675-1.c: Adjust expected output.
diff --git a/gcc/testsuite/gcc.target/riscv/pr122675-1.c
b/gcc/testsuite/gcc.target/riscv/pr122675-1.c
index 6f49ef3b5d83..3187b1013470 100644
--- a/gcc/testsuite/gcc.target/riscv/pr122675-1.c
+++ b/gcc/testsuite/gcc.target/riscv/pr122675-1.c
@@ -7,10 +7,6 @@
/*
**test:
**...
-**.LFB[0-9]+:
-**...
-** .cfi_startproc
-**...
** beq a0,zero,.L[0-9]*
**...
** call f1