This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] pdp11: fix ICE in movdi
- From: Paul Koning <paul_koning at dell dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 29 Oct 2010 12:43:38 -0400
- Subject: [PATCH] pdp11: fix ICE in movdi
movdi would sometimes move from one CPU register set to another, which wasn't handled. This patch fixes that; this cures a number of testsuite failures.
Committed.
paul
ChangeLog:
2010-10-29 Paul Koning <ni1d@arrl.net>
* config/pdp11/pdp11.c (output_move_quad): Fix ICE for CPU
register to register move.
Index: config/pdp11/pdp11.c
===================================================================
--- config/pdp11/pdp11.c (revision 166065)
+++ config/pdp11/pdp11.c (working copy)
@@ -695,12 +695,6 @@
gcc_assert (optype0 != RNDOP && optype1 != RNDOP);
- /* check if we move a CPU reg to an FPU reg, or vice versa! */
- if (optype0 == REGOP && optype1 == REGOP)
- /* bogus - 64 bit cannot reside in CPU! */
- gcc_assert (!CPU_REG_P(REGNO(operands[0]))
- && !CPU_REG_P (REGNO(operands[1])));
-
if (optype0 == REGOP || optype1 == REGOP)
{
/* check for use of clrd????