From 57014cb94ab4ef7964bd013e5faab735c8173001 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Fri, 14 Apr 2000 07:33:02 -0400 Subject: [PATCH] alpha.c (alpha_emit_floatuns): Ensure we pass a REG and not a SUBREG to a FLOAT rtl. * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG and not a SUBREG to a FLOAT rtl. From-SVN: r33146 --- gcc/ChangeLog | 11 ++++++++--- gcc/config/alpha/alpha.c | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a35633392e1..f37a9205ead 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,7 +1,12 @@ +Fri Apr 14 07:40:32 2000 Richard Kenner + + * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG + and not a SUBREG to a FLOAT rtl. + Thu Apr 13 19:39:56 2000 Clinton Popetz - - * emit-rtl.c (try_split): Avoid infinite loop if the split - results in a sequence that contains the original insn. + + * emit-rtl.c (try_split): Avoid infinite loop if the split + results in a sequence that contains the original insn. 2000-04-13 Andreas Jaeger diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index 7d82f3062b0..b35866c0d9c 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -1527,7 +1527,7 @@ alpha_emit_floatuns (operands) enum machine_mode mode; out = operands[0]; - in = operands[1]; + in = force_reg (DImode, operands[1]); mode = GET_MODE (out); neglab = gen_label_rtx (); donelab = gen_label_rtx (); -- 2.30.2