Problem in 'reload_cse_regno_equal_p'

Joern Rennecke amylaar@cygnus.co.uk
Tue Apr 28 14:10:00 GMT 1998


> It seems that the code for the 'for' loop is incorrect. Why is 'x' being
> set
> equal to 'XEXP(x,1)' everytime thru the loop? The code seems to be assuming
> that it will hit a null pointer and things will be okay with the check at
> the next line. Is it okay for the code to assume this?

Yes, it is.  Look at the comment in front of the reg_values declaration.
There should only be EXPR_LISTs of values.  So the real question is,
where and why has the raw SYMBOL_REF been added?



More information about the Gcc mailing list