No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / gcc4 / gcc / testsuite / gcc.dg / debug / debug-6.c
blob4fe680df0b6fd0b12af2351c1cf7f5f3fd11a5e2
1 /* Verify that bb-reorder re-inserts nested scopes properly. */
2 /* { dg-do compile } */
3 /* { dg-options "-dA" } */
4 /* { dg-final { scan-assembler "xyzzy" } } */
6 extern void abort (void);
8 struct A { char *a, *b, *c, *d; };
10 static int
11 bar2 (struct A *x)
13 int a = x->c - x->b;
14 x->c += 26;
15 return a;
18 void fnptr (int *);
20 void
21 foo (void)
23 struct A e;
25 if (bar2 (&e) < 0)
26 abort ();
28 int xyzzy;
29 fnptr (&xyzzy);
32 struct A *f;
34 f = &e;
35 if (f->c - f->a > f->d - f->a)
36 f->c = f->d;