re PR rtl-optimization/57422 (ICE: SIGSEGV in dominated_by_p with custom flags)
authorAndrey Belevantsev <abel@ispras.ru>
Mon, 23 Dec 2013 06:41:22 +0000 (10:41 +0400)
committerAndrey Belevantsev <abel@gcc.gnu.org>
Mon, 23 Dec 2013 06:41:22 +0000 (10:41 +0400)
        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
gcc/sel-sched.c

index 529180a..dd3232d 100644 (file)
@@ -1,3 +1,9 @@
+2013-12-23  Andrey Belevantsev  <abel@ispras.ru>
+
+       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  <singhai@google.com>
 
        * Makefile.in: Add optinfo.texi.
index 3e1fd96..5a94fda 100644 (file)
@@ -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 (&reg_rename_p->unavailable_hard_regs, 
-                            Pmode, HARD_FRAME_POINTER_IS_FRAME_POINTER);
+                            Pmode, HARD_FRAME_POINTER_REGNUM);
     }
 
 #ifdef STACK_REGS