1 /* Test whether graph dumping doesn't crash. */ 2 /* { dg-do compile } */ 3 /* { dg-options "-O2 -fdump-rtl-postreload-graph" } */ 4 foo(void)5int foo (void) 6 { 7 return 6; 8 } 9 bar(int x)10int bar (int x) 11 { 12 if (x < 0) 13 return foo () + 8; 14 else if (x > 0) 15 return 2 * foo (); 16 else 17 return foo (); 18 } 19 20