Thanks for the review. Further testing exposed a regression introduced by the proposed patch: cases/tst_bug-2643.c:11: error 202: Invalid designator for designated initializer /Users/christopherbazley/sdcc-code/sdcc/support/regression/cases/../tests/bug-2643.c:11: error 202: Invalid designator for designated initializer make[3]: *** [gen/ucz80/tst_bug-2643.rel] Error 1 The relevant part of the test is as follows: struct S { int a; union { int b; int c; }; }; struct S x = { 1, { 2 } }; struct S y...
SDCC 4.7.0 Release
Optimiser treats escaping address of const object pessimistically
Implemented by [r17200].
Don't treat escaping address of const object pessimistically (RFE #1043)
SDCC 4.7.0 Release
constexpr boolean initialisers that change value go undiagnosed
Fixed by [r17199].