This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Regclass cleanups
- To: Jan Hubicka <hubicka at atrey dot karlin dot mff dot cuni dot cz>,egcs-patches at egcs dot cygnus dot com
- Subject: Re: Regclass cleanups
- From: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Date: Tue, 4 Jan 2000 18:02:58 +0100
- References: <20000102000538.A3316@atrey.karlin.mff.cuni.cz>
Am Sun, 02 Jan 2000 schrieb Jan Hubicka:
>*************** regclass (f, nregs, dump)
>*** 1111,1116 ****
>--- 1129,1137 ----
> register int class;
> register struct costs *p = &costs[i];
>
>+ if (!REG_N_REFS (i))
>+ continue;
>+
> for (class = (int) ALL_REGS - 1; class > 0; class--)
> {
> /* Ignore classes that are too small for this operand or
> int i, j;
Hi,
this part of your patch breaks a few testcases on powerpc-linux-gnu. Simply
reverting it fixes it for me.
Franz.
FAIL: gcc.c-torture/execute/930106-1.c execution, -O0
FAIL: gcc.c-torture/execute/960512-1.c execution, -O0
FAIL: gcc.c-torture/execute/980604-1.c execution, -O0
FAIL: gcc.c-torture/execute/990117-1.c execution, -O0
FAIL: gcc.c-torture/execute/991202-3.c execution, -O0
FAIL: gcc.c-torture/execute/conversion.c execution, -O0
FAIL: gcc.c-torture/execute/cvt-1.c execution, -O0
FAIL: gcc.c-torture/execute/gofast.c execution, -O0
FAIL: g77.f-torture/execute/970625-2.f execution, -O0
FAIL: g77.f-torture/execute/claus.f execution, -O0
FAIL: g77.f-torture/execute/le.f execution, -O0