Message ID | 4E8C9192.9090500@codesourcery.com |
---|---|
State | New |
Headers | show |
On 10/05/2011 10:19 AM, Bernd Schmidt wrote: > * function.c (thread_prologue_and_epilogue_insns): Don't shrink-wrap > if profiling after the prologue. Ok. r~
Index: gcc/function.c =================================================================== --- gcc/function.c (revision 179553) +++ gcc/function.c (working copy) @@ -5571,6 +5571,7 @@ thread_prologue_and_epilogue_insns (void } if (flag_shrink_wrap && HAVE_simple_return + && (targetm.profile_before_prologue () || !crtl->profile) && nonempty_prologue && !crtl->calls_eh_return) { HARD_REG_SET prologue_clobbered, prologue_used, live_on_edge;