diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 529180a1ff4..dd3232d5a68 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2013-12-23 Andrey Belevantsev + + PR rtl-optimization/57422 + * sel-sched.c (mark_unavailable_hard_regs): Fix typo when calling + add_to_hard_reg_set. + 2013-12-20 Sharad Singhai * Makefile.in: Add optinfo.texi. diff --git a/gcc/sel-sched.c b/gcc/sel-sched.c index 3e1fd96840d..5a94fda5783 100644 --- a/gcc/sel-sched.c +++ b/gcc/sel-sched.c @@ -1253,7 +1253,7 @@ mark_unavailable_hard_regs (def_t def, struct reg_rename *reg_rename_p, if (!HARD_FRAME_POINTER_IS_FRAME_POINTER) add_to_hard_reg_set (®_rename_p->unavailable_hard_regs, - Pmode, HARD_FRAME_POINTER_IS_FRAME_POINTER); + Pmode, HARD_FRAME_POINTER_REGNUM); } #ifdef STACK_REGS