Non-standard test?
YuGr
tetra2005@googlemail.com
Mon Jan 18 13:23:00 GMT 2010
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
More information about the Gcc
mailing list