This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix -mcpu=K6 ICE
- From: Michael Matz <matz at suse dot de>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: gcc-patches at gcc dot gnu dot org, aj at suse dot de
- Date: Fri, 20 Feb 2004 18:47:44 +0100 (CET)
- Subject: Re: Fix -mcpu=K6 ICE
- References: <20040220172947.GX9380@kam.mff.cuni.cz>
Hi,
On Fri, 20 Feb 2004, Jan Hubicka wrote:
> dificult to distile testcase (as one needs to manage something very
> wrong to be in operands[0] that is not really easy),
You mean like:
unsigned short *ar;
int f(unsigned char *r, unsigned short *u)
{
*u = ar[*r];
if (*u == 0x0000)
return -22;
return 1;
}
and ./gcc/cc1 -O2 -march=k6 t.c
?
;-)
(It's fixed indeed by the patch)
Ciao,
Michael.