This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Puzzled by a recent patch
- To: Richard Henderson <rth at cygnus dot com>
- Subject: Re: Puzzled by a recent patch
- From: Bernd Schmidt <bernds at redhat dot co dot uk>
- Date: Thu, 7 Sep 2000 12:34:26 +0100 (BST)
- cc: rth at redhat dot com, gcc at gcc dot gnu dot org
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