aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/aarch64/symbol-range.c
blob: f999bb38102ff4eb9a95d14128612dff4c0e2ff5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-options "-O3 -save-temps -mcmodel=small" } */

int fixed_regs[0x200000000ULL];

int
foo()
{
  return fixed_regs[0x100000000ULL];
}

/* { dg-final { scan-assembler-not "adrp\tx\[0-9\]+, fixed_regs\\\+" } } */
/* { dg-final {cleanup-saved-temps } } */