Debian Codegraph @

gcc/testsuite/gcc.target/loongarch/pr109465-1.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mabi=lp64d -mno-strict-align" } */
3 /* { dg-final { scan-assembler-times "st\\.d|stptr\\.d" 1 } } */
4 /* { dg-final { scan-assembler-times "st\\.w|stptr\\.w" 1 } } */
5 /* { dg-final { scan-assembler-times "st\\.h" 1 } } */
6 /* { dg-final { scan-assembler-times "st\\.b" 1 } } */
7
8 extern char a[], b[];
9 void test() { __builtin_memcpy(a, b, 15); }