2015-09-24 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.dg / 20050811-2.c
blobfab8de1545dfdb770afa2640dd87e1c94748a294
1 /* Test whether graph dumping doesn't crash. */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fdump-rtl-postreload-graph" } */
5 int foo (void)
7 return 6;
10 int bar (int x)
12 if (x < 0)
13 return foo () + 8;
14 else if (x > 0)
15 return 2 * foo ();
16 else
17 return foo ();