From d0381b3719ab73ef31cc3903d4aff7f81828585e Mon Sep 17 00:00:00 2001 From: Andrey Belevantsev Date: Mon, 23 Dec 2013 10:41:22 +0400 Subject: [PATCH] re PR rtl-optimization/57422 (ICE: SIGSEGV in dominated_by_p with custom flags) PR rtl-optimization/57422 * sel-sched.c (mark_unavailable_hard_regs): Fix typo when calling add_to_hard_reg_set. From-SVN: r206173 --- gcc/ChangeLog | 6 ++++++ gcc/sel-sched.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 529180a..dd3232d 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 3e1fd96..5a94fda 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 -- 2.7.4