diff mbox

[target/47548] m32c: don't try to validate interim patterns

Message ID 201102090054.p190sZVk010143@greed.delorie.com
State New
Headers show

Commit Message

DJ Delorie Feb. 9, 2011, 12:54 a.m. UTC
Applied.

	PR target/47548
	* config/m32c/m32c.c (m32c_subreg): Don't try to validate interim
	patterns.

 2011-02-08  Joseph Myers  <joseph@codesourcery.com>
diff mbox

Patch

Index: config/m32c/m32c.c
===================================================================
--- config/m32c/m32c.c	(revision 169958)
+++ config/m32c/m32c.c	(working copy)
@@ -3615,13 +3615,13 @@  m32c_subreg (enum machine_mode outer,
 	  && GET_CODE (x) == MEM
 	  && MEM_VOLATILE_P (x))
 	{
 	  /* Volatile MEMs don't get simplified, but we need them to
 	     be.  We are little endian, so the subreg byte is the
 	     offset.  */
-	  r = adjust_address (x, outer, byte);
+	  r = adjust_address_nv (x, outer, byte);
 	}
       return r;
     }
 
   r = REGNO (x);
   if (r >= FIRST_PSEUDO_REGISTER || r == AP_REGNO)