aboutsummaryrefslogtreecommitdiff
path: root/gcc/shrink-wrap.c
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2021-09-23 21:20:34 +0200
committerThomas Schwinge <thomas@codesourcery.com>2021-09-24 18:20:21 +0200
commit28f527c9598339cf834a30b5ee1f14258b8ecbb2 (patch)
tree9d43a69d857eb3ea5f4bced292059b56986c984b /gcc/shrink-wrap.c
parent1eb4d0d3bad1a7faa7f1734837562aea71575740 (diff)
parent2961ac45b9e19523958757e607d11c5893d6368b (diff)
downloadgcc-28f527c9598339cf834a30b5ee1f14258b8ecbb2.zip
gcc-28f527c9598339cf834a30b5ee1f14258b8ecbb2.tar.gz
gcc-28f527c9598339cf834a30b5ee1f14258b8ecbb2.tar.bz2
Merge commit '2961ac45b9e19523958757e607d11c5893d6368b' [#247]
Diffstat (limited to 'gcc/shrink-wrap.c')
-rw-r--r--gcc/shrink-wrap.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/shrink-wrap.c b/gcc/shrink-wrap.c
index 87ea3b5..5e60f34 100644
--- a/gcc/shrink-wrap.c
+++ b/gcc/shrink-wrap.c
@@ -57,7 +57,7 @@ requires_stack_frame_p (rtx_insn *insn, HARD_REG_SET prologue_used,
HARD_REG_SET hardregs;
unsigned regno;
- if (CALL_P (insn))
+ if (CALL_P (insn) && !FAKE_CALL_P (insn))
return !SIBLING_CALL_P (insn);
/* We need a frame to get the unique CFA expected by the unwinder. */
@@ -1772,9 +1772,6 @@ insert_prologue_epilogue_for_components (sbitmap components)
void
try_shrink_wrapping_separate (basic_block first_bb)
{
- if (HAVE_cc0)
- return;
-
if (!(SHRINK_WRAPPING_ENABLED
&& flag_shrink_wrap_separate
&& optimize_function_for_speed_p (cfun)