OSDN Git Service

PR tree-optimization/51246
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / compile / 20011229-2.c
1 /* Test whether jump threading doesn't ICE if redirecting the jump to exit
2    block.  */
3
4 extern int bar ();
5 extern void baz ();
6
7 void foo ()
8 {
9   int x;
10
11   do
12     {
13       if ((x = bar ()) == 1)
14         baz ();
15     }
16   while (x == 1);
17 }