Debian Codegraph @

gcc/testsuite/gcc.target/s390/global-array-odd-element.c

raw
1 /* Test accesses to odd global array elements. */
2 /* { dg-do compile } */
3 /* { dg-options "-O1" } */
4
5 extern char a[] __attribute__ ((aligned (2)));
6 extern char *b;
7
8 void odd()
9 {
10 b = a + 1;
11 /* { dg-final { scan-assembler-not {(?n)\n\tlarl\t%r\d+,a} } } */
12 }