2013-10-21 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / 20061127-1.c
blob0b70a5ae2b62c51d621700d4d14dc0a0df0862c0
1 /* { dg-do compile { target fpic } } */
2 /* { dg-require-effective-target lp64 } */
3 /* { dg-options "-O1 -fPIC" } */
5 /* PR target/29319 */
7 extern void abort(void);
8 static char l_info[100];
10 void
11 bug1 (unsigned long tag)
13 char *info = l_info;
14 info[tag - 0x100000000 + 1] = 1;
17 void
18 bug2 (unsigned long tag)
20 char *info = l_info;
21 info[tag - 0x700000000 + 2] = 2;
24 void
25 bug3 (unsigned long tag)
27 char *info = l_info;
28 info[tag - 0x100000000 + 1] = 3;