Re: set SHORT_TYPE_SIZE to 8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 23 November 2015 at 12:16, htio2 wrote:
> Hi,
>
> correct me if I am wrong, I am doing a port for a new cup arch and I have
> set the short type to 8-bit, however as shown below gcc still treat it as
> 16-bit (HI) ...

Probably because in 5.2.4.2.1 the C standard says that short must be
able to represent at least ±32767.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux