source: clfs-sysroot/patches/gcc-4.1.1-PR29114-1.patch@ d26cc6e

Last change on this file since d26cc6e was 096f95d, checked in by Joe Ciccone <jciccone@…>, 18 years ago

Correct patch filename.

  • Property mode set to 100644
File size: 928 bytes
  • gcc/config/pa/pa.c

    Submitted By: Joe Ciccone <jciccone@linuxfromscratch.org>
    Date: 2006-11-30
    Initial Package Version: 2.5
    Upstream Status: In CVS
    Origin: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29114
    Description: Fixes cross-compiling glibc for hppa on a 64bit host.
    
            * pa.c (emit_move_sequence): Don't split constants with PLUS for modes
            larger than BITS_PER_WORD.
    
    diff -Naur gcc-4.1.1.orig/gcc/config/pa/pa.c gcc-4.1.1/gcc/config/pa/pa.c
    old new  
    18791879             because PLUS uses an 11-bit immediate and the insn sequence
    18801880             generated is not as efficient as the one using HIGH/LO_SUM.  */
    18811881          if (GET_CODE (operand1) == CONST_INT
     1882              && GET_MODE_BITSIZE (mode) <= BITS_PER_WORD
    18821883              && GET_MODE_BITSIZE (mode) <= HOST_BITS_PER_WIDE_INT
    18831884              && !insert)
    18841885            {
Note: See TracBrowser for help on using the repository browser.