* function.c (thread_prologue_and_epilogue_insns): Don't shrink-wrap
if profiling after the prologue.
From-SVN: r179577
+2011-10-05 Bernd Schmidt <bernds@codesourcery.com>
+
+ * function.c (thread_prologue_and_epilogue_insns): Don't shrink-wrap
+ if profiling after the prologue.
+
2011-10-05 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/50613
}
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;