GCC trunk SPEC2000 performance

Jan Hubicka jh@suse.cz
Fri Jun 21 02:56:00 GMT 2002


> Jan Hubicka wrote:
> 
> > Hmm, obvious fix appears to be the patch attached.  I am not at all sure
> > whether it is the sane fix,
> 
> > !         if (REG_POINTER (map->x_regno_reg_rtx[regno]))
> ===
> > !         if (REG_P (map->x_regno_reg_rtx[regno])
> > !             && REG_POINTER (map->x_regno_reg_rtx[regno]))
> 
> Well, I'd say _no_, it isn't a sane fix.  As the name implies, the
> x_regno_reg_rtx[] member of the struct *map is a REGISTER rtx and
> therefore *should* *not* be a MEM (as Janis' excellent rtl flag checking
> code correctly diagnoses).

That was my concern too.  I've digged in deeper and it appears to come
from modifying registers in place to memory in function.c.  Nasty trick
I am not sure what to do about.  But I will read the rest of discussion
first.

Honza



More information about the Gcc mailing list