summaryrefslogtreecommitdiff
path: root/gcc/lra-lives.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/lra-lives.c')
-rw-r--r--gcc/lra-lives.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/lra-lives.c b/gcc/lra-lives.c
index a593b029320..6f64be30007 100644
--- a/gcc/lra-lives.c
+++ b/gcc/lra-lives.c
@@ -835,7 +835,7 @@ process_bb_lives (basic_block bb, int &curr_point, bool dead_insn_p)
if (call_p)
{
- if (flag_use_caller_save)
+ if (flag_ipa_ra)
{
HARD_REG_SET this_call_used_reg_set;
get_call_reg_set_usage (curr_insn, &this_call_used_reg_set,