This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch for PowerPC regression gcc.c-torture/compile/20000804-1.c
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Corey Minyard <minyard at acm dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 1 Dec 2001 15:44:50 +1030
- Subject: Re: Patch for PowerPC regression gcc.c-torture/compile/20000804-1.c
- References: <3C07F729.1030407@acm.org>
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?