This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] obvious testcase fix
- From: Dorit Naishlos <DORIT at il dot ibm dot com>
- To: Richard Henderson <rth at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 31 Jul 2005 11:08:30 +0300
- Subject: Re: [patch] obvious testcase fix
- Reply-to:
- Sensitivity:
Richard Henderson <rth@redhat.com> wrote on 28/07/2005 19:22:08:
> On Thu, Jul 28, 2005 at 06:22:07PM +0300, Dorit Naishlos wrote:
> > The warning refers to this comparison:
> > if (udiff != DIFF)
> > abort();
> > where udiff is an unsigned char, and DIFF is 240.
> >
> > The test data is fixed such that the result would fit in a char.
>
> Huh? 240 fits in an unsigned char. So long as we're consistent
> in useing "unsigned char" and not "char"...
>
right... I need to check why the "unsigned char" became a "char"...
dorit
>
> r~