PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / 20030820-2.c
blobe857a0d6b0944d494dfcfbcc7025d9d919d76e40
1 /* { dg-do compile } */
2 /* { dg-options "-O1" } */
4 /* A test for variables getting out of their scope in copy propagation. */
6 void bla (int);
7 int bar (void);
9 void foo(void)
11 int k;
13 goto forward;
14 back:
15 bla (k);
16 return;
18 forward:
20 int i = bar ();
22 k = i;
24 goto back;