Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr66178.c
blobee09cf6bfd1c841e5eaac204888aed512a0de690
1 /* { dg-do compile } */
2 /* { dg-require-effective-target label_values } */
4 typedef __UINTPTR_TYPE__ uintptr_t;
6 int test(void)
8 static uintptr_t a = ((char *)&&l1-(char *)&&l2)-1;
9 l1:
10 l2:
11 return a;
14 int test2(void)
16 static uintptr_t a = ((char *)&&l2-(char *)&&l3)+((char *)&&l1-(char *)&&l2);
17 l1:
18 l2:
19 l3:
20 return a;