OSDN Git Service

2011-10-18 Janus Weil <janus@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / pr49994-2.c
1 /* { dg-do compile } */
2 /* { dg-options "-O -fno-omit-frame-pointer -fschedule-insns2 -fsched2-use-superblocks -g" } */
3 /* { dg-require-effective-target scheduling } */
4
5 int
6 bar (int i)
7 {
8   while (i)
9     if (i)
10       return i;
11 }
12
13 void
14 foo ()
15 {
16   bar (0);
17 }