mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 04:30:10 +00:00
ff535b8e1a
Prior to this PR, `int`, `signed int`, and `unsigned int` bitfields are all treated as `unsigned int`. With this PR, `signed int` will be treated as `signed int`, and the others remain unsigned. Since `Type` does not distinguish between `int` and `signed int`, add an extra `int* SignenessSpecified` param to `ParseTypeSpec` so we can tell these apart for bit-fields and treat plain `int : N` as `unsigned int : N` since it is more efficient to zero-extend than sign-extend. Fixes #1095 |
||
---|---|---|
.. | ||
bug327.c | ||
bug927.c | ||
Makefile | ||
sprintf-test.c |