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]
Other format: [Raw text]

Re: Patch for PowerPC regression gcc.c-torture/compile/20000804-1.c


On Fri, Nov 30, 2001 at 03:16:25PM -0600, Corey Minyard wrote:
> --- rs6000.c	2001/11/27 01:35:23	1.244
> +++ rs6000.c	2001/11/30 19:25:09
> @@ -1641,6 +1641,8 @@ rs6000_legitimize_address (x, oldx, mode
>  	   && GET_CODE (x) != CONST_DOUBLE 
>  	   && CONSTANT_P (x)
>  	   && (TARGET_HARD_FLOAT || mode != DFmode)
> +	   && mode != CDImode 
> +	   && mode != CTImode 
>  	   && mode != DImode 
>  	   && mode != TImode)
>      {
> @@ -1654,6 +1656,8 @@ rs6000_legitimize_address (x, oldx, mode
>  	   && GET_CODE (x) != CONST_DOUBLE 
>  	   && CONSTANT_P (x)
>  	   && (TARGET_HARD_FLOAT || mode != DFmode)
> +	   && mode != CDImode 
> +	   && mode != CTImode 
>  	   && mode != DImode 
>  	   && mode != TImode)
>      {

Wouldn't it be simpler, and safer, to use GET_MODE_UNIT_SIZE here?


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