From: John David Anglin Date: Sun, 19 Nov 2006 19:09:04 +0000 (+0000) Subject: re PR target/29114 (ICE when cross-compiling glibc for hppa on a 64bit host) X-Git-Tag: releases/gcc-4.0.4~199 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef9464400bc2f2ae87382aaf069f6295a7744543;p=thirdparty%2Fgcc.git re PR target/29114 (ICE when cross-compiling glibc for hppa on a 64bit host) PR target/29114 * pa.c (emit_move_sequence): Don't split constants with PLUS for modes larger than BITS_PER_WORD. From-SVN: r118996 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 03c2336345d4..a3c057284545 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2006-11-19 John David Anglin + + PR target/29114 + * pa.c (emit_move_sequence): Don't split constants with PLUS for modes + larger than BITS_PER_WORD. + 2006-11-02 Zdenek Dvorak PR tree-optimization/27891 diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index b052d2f86105..b1ce12c48a99 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -2233,6 +2233,7 @@ emit_move_sequence (rtx *operands, enum machine_mode mode, rtx scratch_reg) because PLUS uses an 11-bit immediate and the insn sequence generated is not as efficient as the one using HIGH/LO_SUM. */ if (GET_CODE (operand1) == CONST_INT + && GET_MODE_BITSIZE (mode) <= BITS_PER_WORD && GET_MODE_BITSIZE (mode) <= HOST_BITS_PER_WIDE_INT && !insert) {