No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / gcc4 / gcc / testsuite / gcc.dg / tree-ssa / pr17141-2.c
blob37782cafe8f293a592c1ea9a2ee36d051cd93950
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
6 void abort (void);
7 struct a
9 int i;
10 } *a;
11 int f(void)
13 int *ii = &a->i;
14 void *l;
15 a->i = 1;
16 if (*ii)
17 l = &&l1;
18 else
19 l = &&l2;
20 goto *l;
21 l1:
22 return 0;
23 l2:
24 abort ();
28 /* { dg-final { scan-tree-dump-times "&" 0 "optimized" } } */
29 /* { dg-final { scan-tree-dump-times "abort" 0 "optimized" } } */
30 /* { dg-final { cleanup-tree-dump "optimized" } } */