From: Philipp K. K. <pk...@sp...> - 2011-06-25 12:20:04
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 sdcc has a --short-is-8bits option. It was broken for some time, but has been fixed in rev. #6608. However IMO this looks like kind of option that we might want to remove to me: 1) It enables nonstandard (as in not standard-conforming) behaviour 2) Everything to be gained by using this option (speed and code size) can be gained in a standard way: Just use signed char or int_fast8_t or int_least8_t instead of short int. This requires changing the source, which is not an issue if it's newly-written code. For existing code one would have to check everywhere if it would work with 8-bit shorts as well, which is error-prone and not less effort than changing the code to use 8-bit ints in a standard way. If there are any users of this option out there, please present your use-case. If no one uses it I'd remove it. Philipp -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk4F0mcACgkQbtUV+xsoLprCDQCcCgyJvSuUp+xiWqGgPT9rHFf7 wv4AoNmzF420H6xbjUqIi7SaqImri7ML =6Sv4 -----END PGP SIGNATURE----- |