Debian Codegraph @

gcc/testsuite/gcc.target/riscv/large-model.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-march=rv64gc -mabi=lp64 -fno-section-anchors -mcmodel=large -fno-pie" } */
3 /* { dg-skip-if "" { *-*-* } {"-O0"} } */
4 int a, b;
5 int foo1()
6 {
7 return a*b;
8 }
9
10 /* { dg-final { scan-assembler-times "ld.*LC0" 1 } } */
11 /* { dg-final { scan-assembler-times "ld.*LC1" 1 } } */