This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] obvious testcase fix





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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]