1 /* { dg-do run { target fpic } } */
2 /* { dg-options "-O2 -fpic" } */
4 extern void abort (void);
5 extern void exit (int);
7 #if __INT_MAX__ >= 2147483647L
8 static const long foo
[10] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
10 long __attribute__((noinline
))
13 return foo
[x
- 0x6ffffffa];
19 if (bar (0x6ffffffc) != 2)