(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
riscv/
save-restore-8.c
       1  /* { dg-options "-msave-restore" } */
       2  /* { dg-skip-if "" { *-*-* } { "-O0" } } */
       3  
       4  /* As a leaf function this should never have the calls to the save and
       5     restore stubs added, but lets check anyway.  */
       6  
       7  int func ()
       8  {
       9    return 3;
      10  }
      11  
      12  /* { dg-final { scan-assembler-not "call\[ \t\]*t0,__riscv_save_0" } } */
      13  /* { dg-final { scan-assembler-not "tail\[ \t\]*__riscv_restore_0" } } */