mirror of git://gcc.gnu.org/git/gcc.git
re PR target/46740 (vax-linux-gnu --enable-werror-always build fails for 64 bit host)
2010-12-06 Joern Rennecke <amylaar@spamcop.net> Richard Henderson <rth@redhat.com> PR target/46740 * config/vax/vax.c (vax_output_int_move): Fold #if into if. Co-Authored-By: Richard Henderson <rth@redhat.com> From-SVN: r167512
This commit is contained in:
parent
50ad5a003a
commit
ce7190e503
|
|
@ -1,3 +1,9 @@
|
|||
2010-12-06 Joern Rennecke <amylaar@spamcop.net>
|
||||
Richard Henderson <rth@redhat.com>
|
||||
|
||||
PR target/46740
|
||||
* config/vax/vax.c (vax_output_int_move): Fold #if into if.
|
||||
|
||||
2010-12-06 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* config/sparc/sol2.h (PUSHSECTION_FORMAT): Redefine unconditionally.
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue