3ba1d83d20
C99 integer constants with no type suffix promote differently depending on the way that they're written: hex and oct consts promote as int => uint => long => ulong => vlong => uvlong. Decimal constants are always signed. We used to promote all values to uint on overflow, and never went wider. This change fixes that, and adds a warning when a decimal constant that would have been promoted to uint in the past gets promoted to int. |
||
---|---|---|
.. | ||
acid.c | ||
bits.c | ||
c99 | ||
cc.h | ||
cc.y | ||
com.c | ||
com64.c | ||
compat | ||
compat.c | ||
compat.h | ||
dcl.c | ||
dpchk.c | ||
funct.c | ||
lex.c | ||
lexbody | ||
mac.c | ||
macbody | ||
mkfile | ||
omachcap.c | ||
pgen.c | ||
pickle.c | ||
pswt.c | ||
scon.c | ||
sub.c |