This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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???? 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]