diff options
author | Bernd Schmidt <bernds@codesourcery.com> | 2011-10-05 20:42:21 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2011-10-05 20:42:21 +0000 |
commit | ee049cb79a217b6a31208092bc72f42f9fdb57c0 (patch) | |
tree | a80576f0fc7aae6e8ccdaebdd6d96b0271497305 /gcc/function.c | |
parent | 854f7cbec5d58b20778cd1a1d1e98d1a3bcb68f5 (diff) | |
download | gcc-ee049cb79a217b6a31208092bc72f42f9fdb57c0.zip gcc-ee049cb79a217b6a31208092bc72f42f9fdb57c0.tar.gz gcc-ee049cb79a217b6a31208092bc72f42f9fdb57c0.tar.bz2 |
function.c (thread_prologue_and_epilogue_insns): Don't shrink-wrap if profiling after the prologue.
* function.c (thread_prologue_and_epilogue_insns): Don't shrink-wrap
if profiling after the prologue.
From-SVN: r179577
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/function.c b/gcc/function.c index 2c0b897..6484916 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -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; |