2026-11-28 Gabriele Gorla * src/ds390/gen.c, src/mcs51/gen.c, support/regression/tests/reentrant.c.in: Fix bug 3307. 2026-11-28 Philipp Klaus Krause * src/mcs51/gen.c, support/regression/tests/bug-4158.c: Fix bug #4158, patch from https://github.com/mdmower/sdcc-triage/blob/main/patches/bugs-4158.patch. 2026-11-28 Philipp Klaus Krause * src/SDCCast.c, support/valdiag/tests/bug-2639.c: Fix bug #2639, patch from https://github.com/mdmower/sdcc-triage/blob/main/patches/bugs-2639.patch. * src/SDCC.y, support/valdiag/tests/bug-2893.c: Fix bug #2893, patch from https://github.com/mdmower/sdcc-triage/blob/main/patches/bugs-2893.patch. * support/regression/tests/bug-3873.c: Enable no-longer-failing test (was bug #3875). * src/mcs51/gen.c, support/regression/tests/funcptrcmp.c.in: Fix bug #3903, patch from https://github.com/mdmower/sdcc-triage/blob/main/patches/bugs-3903.patch. 2026-11-28 Gabriele Gorla * support/regression/MakeList, support/regression/tests/sieve.c: Enable sieve for mcs51, ds390, stm8, sm83 and f8. * src/pic16/glue.c, support/regression/tests/bitfields-bits1.c.in, support/regression/tests/bitfields-checks.c.in, support/regression/tests/bitfields-dead-loop.c.in, support/regression/tests/bitfields-nibbles.c.in: Fix bug #4275. 2026-11-28 Christopher Bazley * src/SDCCgenconstprop.cc (recompute_node): After checking *pp1 for null, retain the non-null inference across a store of a known non-null pointer through *pp2 (bug #3957). Discard the inference if the store writes a possibly null pointer or a non-pointer value. * support/valdiag/tests/bug-3957.c: Check that a known non-null pointer store through a possible alias does not trigger warning 355 at the subsequent dereference. Check that potentially invalidating stores still lead to the warning. 2026-11-27 Philipp Klaus Krause * src/z80/peeph.def: Optimise some 32-bit loads. * support/regression/ports/ucr800/spec.mk, support/regression/ports/ucz180/spec.mk, support/regression/ports/ucz80/spec.mk, support/regression/ports/ucz80n/spec.mk: Move data segment to get more code memory at the expense of data memory in regression tests. * support/regression/tests/feature-request-1043.c: Partially disable a test for pdk15, which has not enough code memory. 2026-11-27 Gabriele Gorla * configure, configure.ac, device/lib/pic14/enhanced/Makefile.in, device/lib/pic14/regular/Makefile.in, device/lib/pic16/Makefile.in: Detect location of gputils instead of hardcoded /usr/bin. * device/lib/pic14/Makefile: Add cleaning of pic14 library. * configure, configure.ac: Generate DS390/DS400 makefiles only when necessary. * support/regression/ports/pic16/spec.mk: Use pic18f4620 for the regression (more memory). * src/pic16/gen.c: Fix PIC16 cast to bool. * support/regression/tests/bitfields-checks.c.in: Fix the test for mcs51, ds390 and pdk. * support/regression/tests/bug-2304.c: Fix the test for PIC14 and PIC16. * support/regression/tests/bitfields-bits1.c.in, support/regression/tests/bitfields-checks.c.in, support/regression/tests/bitfields-dead-loop.c.in, support/regression/tests/bitfields-nibbles.c.in: Enable tests for mcs51, ds390 and pdk. Fix bug #3211 2026-11-27 Philipp Klaus Krause * src/z80/peeph.def: Optimistion for mask following right shift. 2026-11-27 Christopher Bazley * src/SDCCast.c (checkNullIval): Resolve and decorate a copy of the pointer initialiser for the early null conversion check. Decorating the original call before inline expansion left it