aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>2000-04-14 07:33:02 -0400
committerRichard Kenner <kenner@gcc.gnu.org>2000-04-14 07:33:02 -0400
commit57014cb94ab4ef7964bd013e5faab735c8173001 (patch)
tree3560ab33b340bf1ffe504d8f933622a0914b944f
parent5919ed050337480f2f49f92ec39532a3d726ff99 (diff)
downloadgcc-57014cb94ab4ef7964bd013e5faab735c8173001.zip
gcc-57014cb94ab4ef7964bd013e5faab735c8173001.tar.gz
gcc-57014cb94ab4ef7964bd013e5faab735c8173001.tar.bz2
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
-rw-r--r--gcc/ChangeLog11
-rw-r--r--gcc/config/alpha/alpha.c2
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a356333..f37a920 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,7 +1,12 @@
+Fri Apr 14 07:40:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
+
+ * 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 <cpopetz@cygnus.com>
-
- * 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 <aj@suse.de>
diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c
index 7d82f30..b35866c 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 ();