Menu

SDCC 4.3.0 Release

Philipp Klaus Krause Erik Petrich Benedikt Freisen Sebastian Riedel
Delivery Planned date Actual date
SDCC 4.3.0 RC1 2023-06-02 2023-06-26
SDCC 4.3.0 Release 2023-06-12 2023-07-07

See the [SDCC 4.3.0 Release Plan].

Tasks

If you think there is a functionality that should be included or a bug that needs to be fixed in the release, please submit it to the Feature Requests at https://sourceforge.net/p/sdcc/feature-requests/ or Bugs at https://sourceforge.net/p/sdcc/bugs/ and copy Request ID and Summary fields to the following table, where:

Request ID: Request ID from Feature Requests or Bugs
Summary: Summary from Feature Requests or Bugs
Proposed by: Who proposed the feature or bug fix
Time: Estimate of the implementation time
Developer: Who will implement the feature or bug fix
Status: Current status

Request ID Summary Proposed by Time Developer Status
[feature-requests:#279] Accessing the stack spth work in progress
[Assemblers and Linkers] sdas merge with asxxxx 5.0 borutr a lot more maarten, basxto, (borutr) work in progress
[feature-requests:#23] structures cannot be passed as function parameters spth @spth DONE
[feature-requests:#324] float classification macros spth POSTPONED
[bugs:#1930] gcc-torture-execute-pr20466-1 fails spth @epetrich DONE
[feature-requests:#380] Handle static vars like global ones in initialization spth POSTPONED
[feature-requests:#327] mcs51 code in device/lib spth POSTPONED
[feature-requests:#332] Compound literals spth POSTPONED
[feature-requests:#403] Regression testing for pic16 spth POSTPONED
[feature-requests:#450] K & R function style spth POSTPONED
[feature-requests:#531] Algebraic optimization on masked xor spth POSTPONED
[feature-requests:#530] Narrowing loop counters spth work in progress
[feature-requests:#543] Leaner source: Remove pic14/pic16 autogenerated header and lib from source tree spth POSTPONED
[feature-requests:#253] Register parameter passing spth spth work in progress
[bugs:#2664] Wrong number of parameters spth @spth DONE
[bugs:#2700] Debug info for local variables that live in multiple iTemps spth POSTPONED
[bugs:#2701] dwarf debugging: local variables has wrong scope spth POSTPONED
[bugs:#2733] False "overflow in implicit constant conversion" warning spth POSTPONED
[bugs:#2766] Function Prototype spth @spth DONE
[bugs:#2906] static local variables problem spth POSTPONED
[bugs:#2957] Reusing old, wrong value spth @epetrich DONE
[bugs:#2981] SIGSEGV at for spth DONE
[bugs:#3073] block-scope static const uninitialized spth @spth DONE
[bugs:#3140] Fails to build on current Debian GNU/Linux spth spth DONE
[bugs:#3030] SIGSEGV on using L string literals spth @spth DONE
[bugs:#3303] Wrong paths in the generated elf file roybaer roybaer work in progress
[bugs:#3522] _BitInt internal error spth @spth DONE
[bugs:#3505] different code is generated each time spth @spth DONE
[bugs:#3520] _sdcc_external_startup() not called for STM8 spth @spth DONE
[bugs:#3517] SDCC does not build from source on ARM Macs spth DONE
[bugs:#3515] --debug hinders peephole optimizer spth @spth DONE
[bugs:#3525] pdk/pic rules issue spth @spth DONE
[bugs:#3500] Manual description of __critical is inaccurate for STM8 spth @spth DONE
[bugs:#3504] Cast from int to uint8_t on right side of += malfunctions spth @spth DONE
[bugs:#3533] stm8 erratic a register value before subroutine jump spth @spth DONE
[bugs:#3487] stack variables being overwritten spth @spth DONE
[bugs:#3539] Type issues in codegen (make regtests on 32-bit big-endian host fail) spth @spth DONE
[bugs:#3541] SDCC deletes cpp file in compiling and throw an error spth @felixs DONE
[bugs:#3551] sdcc frontend/preprocessor: wrong destination folder for the dependency files spth @felixs DONE
[bugs:#3483] Preprocessor crash on #include when no include path supplied spth @felixs DONE
[bugs:#3491] Fresh build with --disable-sdbinutils will fail spth POSTPONED
[bugs:#3555] sdbinutils install doesn't respect prefix spth POSTPONED
[bugs:#3561] SDCC cannot be built spth @spth DONE
[bugs:#3569] SDCC can not link all function from linked library file spth @felixs DONE

Feature List

There is always a problem to create a list of new features when a new SDCC release is announced. The following list is an attempt to create such a list "on the fly". Every time a new feature which is visible or interesting for the SDCC users is implemented, it should be added to the following list.

  • C2X bit-precise integer types and bit-fields thereof for (except for pic14, pic16).
  • Added all new general mnemonics from ASxxxx 5.40 except for .bank and enabled for all ports
  • sm83: sdasgb now can output cycles in listing and sz80 has accurate cycles for this processor except for branching
  • struct / union return (except for ds390, hc08, s08, mos6502, pic14, pic16).
  • div standard library function family.
  • struct / union parameters (except for hc08, s08, mos6502, pic14, pic16).
  • C2X nullptr.
  • Many fixes for the type system and _Generic.
  • Adopted more of GCC, QuickC and tinycc tests.
  • C2X char8_t.
  • C2X memalignment.
  • C2X unreachable.
  • C2X typeof, typeof_unqual.
  • C2X auto.
  • C2X keywords bool, true, false, alignas, alignof, static_assert.
  • C90-C17 function declarators without prototypes.
  • C99 variably modified types.
  • C2X bit and byte utilities.
  • call_once.
  • _sdcc_external_startup renamed to __sdcc_external_startup and supported for all ports.
  • makeshift support for long double as another alias for float.

Related

Bugs: #1930
Bugs: #2664
Bugs: #2700
Bugs: #2701
Bugs: #2733
Bugs: #2766
Bugs: #2906
Bugs: #2957
Bugs: #2981
Bugs: #3030
Bugs: #3073
Bugs: #3140
Bugs: #3303
Bugs: #3483
Bugs: #3487
Bugs: #3491
Bugs: #3500
Bugs: #3504
Bugs: #3505
Bugs: #3515
Bugs: #3517
Bugs: #3520
Bugs: #3522
Bugs: #3525
Bugs: #3533
Bugs: #3539
Bugs: #3541
Bugs: #3551
Bugs: #3555
Bugs: #3561
Bugs: #3569
Feature Requests: #23
Feature Requests: #253
Feature Requests: #279
Feature Requests: #324
Feature Requests: #327
Feature Requests: #332
Feature Requests: #380
Feature Requests: #403
Feature Requests: #450
Feature Requests: #530
Feature Requests: #531
Feature Requests: #543
Wiki: Assemblers and Linkers
Wiki: Home
Wiki: NGI0-SDCC
Wiki: SDCC 4.3.0 Release Plan

Discussion

  • Maarten Brock

    Maarten Brock - 2023-01-23

    Hello Philipp,

    Philipp Klaus Krause schreef op 2023-01-21 17:23:

    -[bugs:#1930] | gcc-torture-execute-pr20466-1 fails | spth | |
    @epetrich | DONE
    +[bugs:#1930] | gcc-torture-execute-pr20466-1 fails | spth | | |

    Was this removed on purpose?

    -[bugs:#2957] | Reusing old, wrong value | spth | | @epetrich | DONE
    +[bugs:#2957] | Reusing old, wrong value | spth | | |

    This one you have already reverted, though without the @

    Greets,
    Maarten

     

    Related

    Bugs: #1930
    Bugs: #2957

    • Philipp Klaus Krause

      Thanks for having an eye on this. This is not the first time I accidentially reverted something when editing a wiki page. I think Sourceforge sometimes uses an old page version when I click "Edit".

       
  • Aoineko

    Aoineko - 2023-06-04

    SDCC 4.3.0 RC1 is available?
    Planned date was 2023-06-02.
    I got the yesterday night build but SDCC crash on Win10/64 about ccl1 error.

     
    • Philipp Klaus Krause

      It was delayed to fix some issues.

       

Log in to post a comment.