2020-02-16 12:57 AM
Dear SDCC users,
On the 30th of January SDCC 4.0.0 has been released.
As always it has been put online in the SourceForge File section.
https://sourceforge.net/projects/sdcc/files/
There have been various improvements, both features and bug fixes since
SDCC 3.9.0. The full ChangeLog is at:
https://sourceforge.net/p/sdcc/code/HEAD/tree/tags/sdcc-4.0.0/sdcc/ChangeLog
The following is a list of particularly noteworthy new features.
* The pdk15 backend now passes the regression tests (both with and without --stack-auto), and is thus considered stable.
* New in-development pdk13 backend for Padauk µC with 13-bit wide program memory.
* C2X memccpy(), strdup(), strndup().
* Better tail call optimization.
* Many fixes in the pic14 backend.
* C2X u8 character constants.
* C2X bool, static_assert, alignof, alignas.
* C2X attributes on statements.
* C2X attribute declarations.
* Support for extended ASCII characters in sdas, sdld
* Compiler support for UCNs and non-ASCII utf8 in identifiers
While there is no STM8-specific improvement in the above list, the statistics show show substantial improvements,e.g code size in Coremark: https://sourceforge.net/p/sdcc/code/HEAD/tree/trunk/sdcc-extra/historygraphs/coremark-stm8-size.svg
When I find time, I'll do an update of the STM8 compiler comparison (http://www.colecovision.eu/stm8/compilers.shtml), which currently still reflects the state of SSTM8 C compilers in early 2018.