2026-10-09 Philipp Klaus Krause * src/z80/peeph.def: Remove two peephole optimizer rules that do not improve the code in any regression tests, fix some others. 2026-10-09 Philipp Klaus Krause * src/SDCCsymt.c, src/SDCCerr.h, src/SDCCerr.c, support/valdiag/tests/bug-4117.c, support/regression/tests/bug-4117.c: Diagnose derived enum underlying types, based on patch by Christopher Bazley. 2026-10-09 Philipp Klaus Krause * src/SDCCval.c, support/regression/tests/bug-4119.c, support/valdiag/tests/bug-4119.c: Avoid host overflow when folding signed minimum divided by minus one or its remainder. Store recovered _BitInt quotients with the correct sign extension. Patch by Christopher Bazley. 2026-10-09 Philipp Klaus Krause * src/pic16/glue.c: Fix an issue in inline function handling, bug #4122, patch by zeynelsagcan. * device/lib/pic16/libsdcc/fixed16x16/fps16x16_eq.c, device/lib/pic16/libsdcc/fixed16x16/fps16x16_gt.c, device/lib/pic16/libsdcc/fixed16x16/fps16x16_gteq.c, device/lib/pic16/libsdcc/fixed16x16/fps16x16_lt.c, device/lib/pic16/libsdcc/fixed16x16/fps16x16_lteq.c, device/lib/pic16/libsdcc/fixed16x16/fps16x16_neq.c, src/SDCCsymt.c: Make fixed-point comparison support functions return unsigned char. * support/regression/tests/bug-4002.c, support/regression/tests/bug-4003.c, support/regression/tests/bug-4005.c: Disable some tests for host, where we can't assume _Optional support. 2026-10-08 Philipp Klaus Krause * device/include/stdbit.h, device/lib/__stdc_bit_width.c, device/lib/__stdc_count_ones.c, device/lib/__stdc_first_leading_one.c, device/lib/__stdc_first_trailing_one.c, device/lib/__stdc_leading_zeros.c, device/lib/__stdc_trailing_ones.c: Make stdbit.h usable without _BitInt, patch by zeynelsagcan. * src/z80/peeph-sm83.def, src/z80/peeph.def: Peephole optimizer rule fixes. 2026-10-08 Philipp Klaus Krause * src/z80/peeph-sm83.def, src/z80/peeph.def: Remove some untested (i.e. they apply for no regression test) peephole optimizer rules suspected to be broken. 2026-10-08 Philipp Klaus Krause * src/z80/peeph.def, support/regression/tests/bug-4115.c: Fix bug #4115 (the reproducible part). 2026-10-08 Philipp Klaus Krause * src/SDCCval.c: Adjust function parameters to pointers before qualifier checking and symbol binding, fixing indirect calls (bug #3028, related to #3358), patch by Christopher Bazley. * support/regression/tests/bug-3028.c, support/valdiag/tests/bug-3028.c: Test named and unnamed parameters, redeclarations, calls and _Optional, patch by Christopher Bazley. 2026-10-08 Philipp Klaus Krause * src/SDCCast.c, src/SDCCerr.c, src/SDCCerr.h, support/regression/tests/typeof.c, support/valdiag/tests/bug-4000.c: Fix bug #4000, patch by Christopher Bazley. 2026-10-07 Philipp Klaus Krause * src/SDCCast.c, src/SDCCicode.c, src/SDCCicode.h, src/SDCCopt.c, src/SDCCsymt.c, src/SDCCsymt.h, support/valdiag/tests/bug-3953.c, support/valdiag/tests/bug-4006.c: Check referenced qualifiers after expression decay on assignments and returns (bug #4006). Avoid repeating incompatible-type diagnostics. Remove the late iCode qualifier checker and unused restrict-loss flag. Patch by Christopher Bazley. 2026-10-07 Philipp Klaus Krause * src/SDCCast.c, src/SDCCicode.c, src/SDCCsymt.c, src/SDCCsymt.h, support/regression/tests/bug-4005.c, support/valdiag/tests/_Optional-draft-2026-04-17.c: Centralise expression array decay and remove _Optional from its