Non-standard test?
Joseph S. Myers
joseph@codesourcery.com
Mon Jan 18 13:48:00 GMT 2010
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.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Gcc
mailing list