Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/pr112573.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fno-section-anchors" } */
3
4 char a[100];
5
6 void f1 (int x, int y)
7 {
8 *((a + y) + 3) = x;
9 *((a + y) + 2) = x;
10 *((a + y) + 1) = x;
11 *((a + y) + 0) = x;
12 }
13
14 /* { dg-final { scan-assembler-times "strb" 4 } } */
15 /* { dg-final { scan-assembler-times "adrp" 1 } } */