As pointed out in the bug report, it's not a bug. As listed in the
documentation over here:
https://www.freepascal.org/docs-html/current/ref/refsu4.html
"Every integer smaller than the ”native” size is promoted to a signed
version of the ”native” size. Integers equal to the ”native” size
keep their signedness."
Apologies for not abiding by RTFM - it's hard to find all the little notes
sometimes. Still, this is useful to know when it comes to future
optimization work.
Gareth
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel