On 05/10/14 14:16, Richard Sandiford wrote:
SCRATCH has a single "0" field because reload used to turn it directly
into a REG. It no longer does (or could do) that since REG has three
fields rather than one. This patch therefore updates the comment and
removes the field.
Tested on x86_64-linux-gnu. OK to install?
Thanks,
Richard
gcc/
* rtl.def (scratch): Fix outdated comment and remove "0" field.
* gengtype.c (adjust_field_rtx_def): Update accordingly.
Are you sure reload doesn't still do this? Do you have a pointer to
when this code was removed?
While I would have expected something to break, perhaps the problems are
just latent.
If you had a pointer which showed this code in reload being removed, I'd
approve without hesitation.
Jeff