This is the mail archive of the gcc@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: Non-standard test?


On Monday 18 January 2010 16:19:23 Joseph S. Myers wrote:
> On Mon, 18 Jan 2010, YuGr wrote:
> > But according to C99 Standard (see Usual arithmetic conversions,
> > 6.3.1.8):
>
> First the integer promotions are applied, so you need UCHAR_MAX not to be
> representable as int (not just as short).
>
> As previously discussed at length, many changes are needed in various
> parts of GCC to work well for targets where char is wider than 8 bits;
> they never worked well even when GCC used to have such ports.  If adding
> such a port, many substantial code changes will be needed as well as
> substantial testsuite changes; not just patching one test.

Ok, thanks Joseph. I guess we'll just patch our local c-torture then.

-- 
Best regards,
Yuri


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