Debian Codegraph @

gcc/testsuite/gcc.target/s390/global-array-almost-negative-huge-element.c

raw
1 /* Test the minimum LARL offset. */
2 /* { dg-do compile { target lp64 } } */
3 /* { dg-options "-O1" } */
4
5 extern char a[] __attribute__ ((aligned (2)));
6 extern char *b;
7
8 void almost_negative_huge()
9 {
10 b = a - 0x80000000ULL;
11 /* { dg-final { scan-assembler {(?n)\n\tlarl\t%r\d+,a-2147483648\n} } } */
12 }