From 3a17e644275b905b51fcb3aee55630331e3dd119 Mon Sep 17 00:00:00 2001 From: amylaar Date: Mon, 6 Dec 2010 19:19:09 +0000 Subject: 2010-12-06 Joern Rennecke Richard Henderson PR target/46740 * config/vax/vax.c (vax_output_int_move): Fold #if into if. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167512 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 6 ++++++ gcc/config/vax/vax.c | 4 +--- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8fc47bba247..285b8b7bd78 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-12-06 Joern Rennecke + Richard Henderson + + PR target/46740 + * config/vax/vax.c (vax_output_int_move): Fold #if into if. + 2010-12-06 Eric Botcazou * config/sparc/sol2.h (PUSHSECTION_FORMAT): Redefine unconditionally. diff --git a/gcc/config/vax/vax.c b/gcc/config/vax/vax.c index a9e032aa695..9656d736581 100644 --- a/gcc/config/vax/vax.c +++ b/gcc/config/vax/vax.c @@ -1129,18 +1129,16 @@ vax_output_int_move (rtx insn ATTRIBUTE_UNUSED, rtx *operands, { lval >>= n; -#if HOST_BITS_PER_WIDE_INT == 32 /* On 32bit platforms, if the 6bits didn't overflow into the upper 32bit value that value better be 0. If we have overflowed, make sure it wasn't too much. */ - if (hval != 0) + if (HOST_BITS_PER_WIDE_INT == 32 && hval != 0) { if (n <= 26 || hval >= ((unsigned)1 << (n - 26))) n = 0; /* failure */ else lval |= hval << (32 - n); } -#endif /* If n is 0, then ashq is not the best way to emit this. */ if (n > 0) { -- cgit v1.2.1