summaryrefslogtreecommitdiff
path: root/gcc/caller-save.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/caller-save.c')
-rw-r--r--gcc/caller-save.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/caller-save.c b/gcc/caller-save.c
index 8b796b9d2fa..801deb43992 100644
--- a/gcc/caller-save.c
+++ b/gcc/caller-save.c
@@ -192,6 +192,8 @@ init_caller_save (void)
caller_save_initialized_p = true;
+ use_rtl_permanent_mem ();
+
CLEAR_HARD_REG_SET (no_caller_save_reg_set);
/* First find all the registers that we need to deal with and all
the modes that they can have. If we can't find a mode to use,
@@ -280,6 +282,7 @@ init_caller_save (void)
SET_HARD_REG_BIT (no_caller_save_reg_set, i);
}
}
+ use_rtl_function_mem ();
}