OSDN Git Service

2009-05-19 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / compile / 20071118-1.c
1 /* PR rtl-optimization/34132 */
2 /* Testcase by Martin Michlmayr <tbm@cyrius.com> */
3
4 static char *m = "%s%u.msg";
5 extern void bar (int, const char *);
6 void foo (short x, int y, int z)
7 {
8   if (x == 0)
9     {
10       bar (y, m);
11       z = 1;
12     }
13   else if (x == 1)
14     z = 0;
15   bar (y, m);
16   bar (z, "%d");
17 }