diff mbox

RFA (vax): Fix PR46740

Message ID 20101206122100.yt4xf2wwocog4wco-nzlynne@webmail.spamcop.net
State New
Headers show

Commit Message

Joern Rennecke Dec. 6, 2010, 5:21 p.m. UTC
Cross-built on x86_64-pc-linux-gnu .
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.

Comments

Richard Henderson Dec. 6, 2010, 5:31 p.m. UTC | #1
On 12/06/2010 09:21 AM, Joern Rennecke wrote:
> +#else
> +	      gcc_assert (hval == 0);

Does it cause more problems to simply transform that #if
into a normal C if?  Nothing in that block looks as if it
would generate a warning on a 64-bit host...


r~
diff mbox

Patch

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)