[committed] Adjust expected output of new risc-v test

Message ID 56fc2af8-9711-4373-ae2a-4916ebea4689@gmail.com
State Committed
Commit 951f3ccefca097d483aef1f65a283c8c68b73ab6
Headers
Series [committed] Adjust expected output of new risc-v test |

Checks

Context Check Description
rivoscibot/toolchain-ci-rivos-lint success Lint passed
rivoscibot/toolchain-ci-rivos-apply-patch success Patch applied
rivoscibot/toolchain-ci-rivos-build--newlib-rv64gcv-lp64d-multilib success Build passed
rivoscibot/toolchain-ci-rivos-build--linux-rv64gc_zba_zbb_zbc_zbs-lp64d-multilib success Build passed
rivoscibot/toolchain-ci-rivos-build--linux-rv64gcv-lp64d-multilib success Build passed
rivoscibot/toolchain-ci-rivos-test success Testing passed

Commit Message

Jeffrey Law Dec. 6, 2025, 4:02 p.m. UTC
  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 <jlaw@ventanamicro.com>
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.
  

Patch

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