1/* This failed with profiling due to a missing check in 2 tree_flow_call_edges_add. */ 3 4/* { dg-do compile } */ 5/* { dg-options "-O1 -fprofile-generate" } */ 6 7static __attribute__ ((always_inline)) void 8baz () 9{ 10} 11 12static __attribute__ ((always_inline)) int 13bar () 14{ 15 out: 16 baz (); 17 goto out; 18} 19 20int 21foo () 22{ 23 long res; 24 25 res = bar (); 26} 27