Debian Codegraph @

gcc/testsuite/gcc.target/riscv/pr105733.c

raw
1 /* { dg-do compile } */
2 /* { dg-options { -march=rv64gcv -mabi=lp64d } } */
3 /* { dg-skip-if "" { *-*-* } { "-O0" "-Og" "-Os" "-Oz" } } */
4
5 #define BUF_SIZE 2064
6
7 void
8 foo(unsigned long i)
9 {
10 volatile char buf[BUF_SIZE];
11
12 buf[i] = 0;
13 }
14
15 /* { dg-final { scan-assembler-not {li\t[a-x0-9]+,4096} } } */