Puzzled by a recent patch
Bernd Schmidt
bernds@redhat.co.uk
Thu Sep 7 03:34:00 GMT 2000
On Wed, 6 Sep 2000, Richard Henderson wrote:
>
> Looks like you want
>
> - need_mode = smallest_mode_for_size ((word+1) * UNITS_PER_WORD,
> - GET_MODE_CLASS (mode));
> + if (word == 0)
> + need_mode = mode;
> + else
> + need_mode = smallest_mode_for_size (GET_MODE_SIZE (mode)
> + + word*UNITS_PER_WORD,
> + GET_MODE_CLASS (mode));
That does look more correct, and it fixes my problem. Can I install this?
Bernd
More information about the Gcc
mailing list