This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GCC build failed for 2 targets with your patch on 2001-05-17T15:11:55Z.


> With your recent patch, GCC does not compile on:
>  powerpc-eabisim native
> Attached is build output for those targets.  Also attached is a diff
> of the ChangeLog entries since the last time the regression tests
> passed, on 2001-05-16T21:39:50Z.
> 
> The build failures are new.
I've caused the problem. I really apologize for this.
The i386 failure is -mcpu=i686 specific and it didn't show on my bootstrap.
I've fixed it by attached patch I installed as obvious.  I am in the middle of
powerpc crossbuild to investigate the second.

Thu May 17 18:14:16 CEST 2001  Jan Hubicka  <jh@suse.cz>
	* simplify_rtx.c (simplify_subreg): Fix simplification of nested subregs.
Index: simplify-rtx.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/simplify-rtx.c,v
retrieving revision 1.49
diff -c -3 -p -r1.49 simplify-rtx.c
*** simplify-rtx.c	2001/05/17 15:00:35	1.49
--- simplify-rtx.c	2001/05/17 16:14:06
*************** simplify_subreg (outermode, op, innermod
*** 2332,2342 ****
  	}
  
        /* Recurse for futher possible simplifications.  */
!       new = simplify_subreg (outermode, op, GET_MODE (op),
  			     final_offset);
        if (new)
  	return new;
!       return gen_rtx_SUBREG (outermode, op, final_offset);
      }
  
    /* SUBREG of a hard register => just change the register number
--- 2332,2343 ----
  	}
  
        /* Recurse for futher possible simplifications.  */
!       new = simplify_subreg (outermode, SUBREG_REG (op),
! 			     GET_MODE (SUBREG_REG (op)),
  			     final_offset);
        if (new)
  	return new;
!       return gen_rtx_SUBREG (outermode, SUBREG_REG (op), final_offset);
      }
  
    /* SUBREG of a hard register => just change the register number


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]