RFA (vax): Fix PR46740

Joern Rennecke amylaar@spamcop.net
Mon Dec 6 17:21:00 GMT 2010


Cross-built on x86_64-pc-linux-gnu .
-------------- next part --------------
2010-12-06  Joern Rennecke  <amylaar@spamcop.net>

	PR target/46740
	* config/vax/vax.c (vax_output_int_move) [HOST_BITS_PER_WIDE_INT != 32]:
	Use hval.

Index: config/vax/vax.c
===================================================================
--- config/vax/vax.c	(revision 167494)
+++ config/vax/vax.c	(working copy)
@@ -1140,6 +1140,8 @@ vax_output_int_move (rtx insn ATTRIBUTE_
 		  else
 		    lval |= hval << (32 - n);
 		}
+#else
+	      gcc_assert (hval == 0);
 #endif
 	      /*  If n is 0, then ashq is not the best way to emit this.  */
 	      if (n > 0)


More information about the Gcc-patches mailing list