PR target/64226
* config/rs6000/rs6000.c (rs6000_secondary_reload_inner)
[SYMBOL_REF]: Do not explicitly call create_TOC_reference for
TARGET_TOC. Always use rs6000_emit_move.
From-SVN: r218497
+2014-12-08 David Edelsohn <dje.gcc@gmail.com>
+
+ PR target/64226
+ * config/rs6000/rs6000.c (rs6000_secondary_reload_inner)
+ [SYMBOL_REF]: Do not explicitly call create_TOC_reference for
+ TARGET_TOC. Always use rs6000_emit_move.
+
2014-12-08 Mark Wielaard <mjw@redhat.com>
PR debug/60782
case SYMBOL_REF:
case CONST:
case LABEL_REF:
- if (TARGET_TOC)
- emit_insn (gen_rtx_SET (VOIDmode, scratch,
- create_TOC_reference (addr, scratch)));
- else
- rs6000_emit_move (scratch, addr, Pmode);
-
+ rs6000_emit_move (scratch, addr, Pmode);
new_addr = scratch;
break;