[AArch64] Merge stores of D-register values with different modes
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / comp-goto-2.c
blob95d23a2f9ce2e0e02b8c42e2b77cb1514fc0aeaa
1 /* { dg-require-effective-target label_values } */
2 /* { dg-require-effective-target trampolines } */
3 /* { dg-add-options stack_size } */
5 /* A slight variation of 920501-7.c. */
7 #ifdef STACK_SIZE
8 #define DEPTH ((STACK_SIZE) / 512 + 1)
9 #else
10 #define DEPTH 1000
11 #endif
13 x(a)
15 __label__ xlab;
16 void y(a)
18 void *x = &&llab;
19 if (a==-1)
20 goto *x;
21 if (a==0)
22 goto xlab;
23 llab:
24 y (a-1);
26 y (a);
27 xlab:;
28 return a;
31 main ()
34 if (x (DEPTH) != DEPTH)
35 abort ();
37 exit (0);