This is the mail archive of the gcc@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: GCC trunk SPEC2000 performance


> 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


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