aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1996-09-12 23:21:37 +0000
committerDoug Evans <dje@gnu.org>1996-09-12 23:21:37 +0000
commitd6b6516780fb9dc04212c59ec3466db2f00a0857 (patch)
tree0c7ce61dc518bc0a0360c349d8866b6222264518
parent9a46a605017160f0b764ce01a9c9dc27ba14f38a (diff)
downloadgcc-d6b6516780fb9dc04212c59ec3466db2f00a0857.zip
gcc-d6b6516780fb9dc04212c59ec3466db2f00a0857.tar.gz
gcc-d6b6516780fb9dc04212c59ec3466db2f00a0857.tar.bz2
(emit_move_sequence): Pass label_ref to
gen_move_pic_label_si to not lose flags. From-SVN: r12703
-rw-r--r--gcc/config/sparc/sparc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c
index 566d41a..81c291d 100644
--- a/gcc/config/sparc/sparc.c
+++ b/gcc/config/sparc/sparc.c
@@ -1523,9 +1523,7 @@ emit_move_sequence (operands, mode)
{
if (TARGET_ARCH64)
abort ();
- /* ??? This might suffer from the same problem the DImode case did:
- flags in operand1 not being propagated. */
- emit_insn (gen_move_pic_label_si (operand0, XEXP (operand1, 0)));
+ emit_insn (gen_move_pic_label_si (operand0, operand1));
return 1;
}
/* Non-pic LABEL_REF's in sparc64 are expensive to do the normal way,