OSDN Git Service

Backport from mainline
authorabel <abel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Jan 2014 12:31:35 +0000 (12:31 +0000)
committerabel <abel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Jan 2014 12:31:35 +0000 (12:31 +0000)
        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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@206880 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/sel-sched.c

index 5af3aaa..4d3f1e5 100644 (file)
@@ -1,3 +1,12 @@
+2014-01-21  Andrey Belevantsev  <abel@ispras.ru>
+
+       Backport from mainline
+       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.
+
 2014-01-19  John David Anglin  <danglin@gcc.gnu.org>
 
        * config/pa/pa.c (pa_attr_length_millicode_call): Correct length of
index 6b44893..43e0d51 100644 (file)
@@ -1263,7 +1263,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