[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug target/31364] [4.3 Regression] secureplt breaks bootstrap




------- Comment #11 from pinskia at gcc dot gnu dot org  2007-03-27 20:33 -------
I missed another gen_rtx_SCARTCH also:
Index: gcc/gcc/config/rs6000/rs6000.md
===================================================================
--- gcc/gcc/config/rs6000/rs6000.md     (revision 123248)
+++ gcc/gcc/config/rs6000/rs6000.md     (working copy)
@@ -10715,7 +10715,9 @@
                                     gen_rtx_MEM (SImode, operands[0]),
                                     operands[1]),
                       gen_rtx_USE (VOIDmode, operands[2]),
-                      gen_rtx_CLOBBER (VOIDmode, gen_rtx_SCRATCH (SImode)));
+                      gen_rtx_CLOBBER (VOIDmode,
+                                       gen_rtx_REG (Pmode,
+                                                    LINK_REGISTER_REGNUM)));
       call = emit_call_insn (gen_rtx_PARALLEL (VOIDmode, tmp));
       use_reg (&CALL_INSN_FUNCTION_USAGE (call), pic_offset_table_rtx);
       DONE;
@@ -10788,7 +10790,9 @@
                                                               operands[1]),
                                                  operands[2])),
                       gen_rtx_USE (VOIDmode, operands[3]),
-                      gen_rtx_CLOBBER (VOIDmode, gen_rtx_SCRATCH (SImode)));
+                      gen_rtx_CLOBBER (VOIDmode,
+                                       gen_rtx_REG (Pmode,
+                                                     LINK_REGISTER_REGNUM))));
       call = emit_call_insn (gen_rtx_PARALLEL (VOIDmode, tmp));
       use_reg (&CALL_INSN_FUNCTION_USAGE (call), pic_offset_table_rtx);
       DONE;


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31364

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



Reply to: