USE patch vs the PA
John Carr
jfc@tiac.net
Sat Oct 25 06:31:00 GMT 1997
> > (1) R1 = constant
> > (2) R2 = R1
> > (3) R1 = variable
> Note that if REG_N_SETS (R1) == 1, then find_base_value should return
> reg_base_value [REGNO (R1)] if it is nonzero.
Can you send me an example where this helps?
> The way it works right now, if regA is set to regB + regC and we
> don't know if regB & regC are "constant" when we see the set for
> regA, then we just set reg_base_value[regA] = regA.
There is code to pick the right register as the base: the one with
REGNO_POINTER_FLAG set. A register without this flag shouldn't
contain a pointer. Why isn't this working?
More information about the Gcc
mailing list