]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
backport: re PR rtl-optimization/57422 (ICE: SIGSEGV in dominated_by_p with custom...
authorAndrey Belevantsev <abel@ispras.ru>
Tue, 21 Jan 2014 12:31:35 +0000 (16:31 +0400)
committerAndrey Belevantsev <abel@gcc.gnu.org>
Tue, 21 Jan 2014 12:31:35 +0000 (16:31 +0400)
        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.

From-SVN: r206880

gcc/ChangeLog
gcc/sel-sched.c

index 5af3aaa482c1ea2c0d7e227b5effa73637e2981a..4d3f1e5fa3320c9e3571c215ee412894424d345d 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 6b44893c8914ba18317650a94d10b764151d99af..43e0d51b80237a227ad02f8960cba6667bbb7026 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