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

login
register
mail settings
Submitter DJ Delorie
Date Feb. 9, 2011, 12:54 a.m.
Message ID <201102090054.p190sZVk010143@greed.delorie.com>
Download mbox | patch
Permalink /patch/82424/
State New
Headers show

Comments

DJ Delorie - Feb. 9, 2011, 12:54 a.m.
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>

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)