2026-10-06 Philipp Klaus Krause * src/SDCCast.c: Compare integral AST literals without conversion to double; test the full literal before simplifying unsigned comparisons, patch by Christopher Bazley. * src/SDCCval.c: Share folding for all six comparison operators after arithmetic conversion, preserving wide integer values and signedness (#4113), patch by Christopher Bazley. * src/SDCCicode.c: Reuse valCompare for comparisons and valBitwise for bitwise folding to avoid rounding and truncating wide literal operands, patch by Christopher Bazley. * support/regression/tests/bug-4113.c: Test wide comparisons, integer conversion, bitwise folding, floating operands and signed versus unsigned division, based on patch by Christopher Bazley. 2026-10-06 Philipp Klaus Krause * src/SDCCast.c, src/SDCCerr.c, src/SDCCerr.h, support/valdiag/tests/bug-4087.c: Fix bug #4087. Diagnose invalid alignof operands and warn for incomplete arrays before C2y, patch by Christopher Bazley. 2026-10-06 Philipp Klaus Krause * src/pdk/gen.c, src/pdk/peeph.def, src/pdk/ralloc2.cc: RFE #609. 2026-10-06 Philipp Klaus Krause * support/regression/tests/bug-2320.c: Match the address cast to the unsigned char buffer declaration to prepare for fix for bug #3952, patch by Christopher Bazley. * support/regression/tests/bug-2347.c, support/regression/tests/bug-3728.c, support/regression/tests/bug3475630.c, support/regression/tests/falcon-ntt.c, support/regression/tests/gcc-torture-execute-920429-1.c, support/regression/tests/gcc-torture-execute-930603-3.c, support/regression/tests/memory.c.in, support/regression/tests/snprintf.c.in, support/valdiag/tests/arraybounds.c: Suppress expected warning 244 without changing the tested code to prepare for fix for bug #3952, patch by Christopher Bazley. 2026-10-05 Philipp Klaus Krause * src/SDCCgenconstprop.cc, support/valdiag/tests/bug-4092.c: Saturate pointer object-size bounds when applying byte offsets to avoid false bounds diagnostics on 32-bit hosts (bug #4092), patch by Christopher Bazley. 2026-10-05 Maarten Brock * src/SDCCsymt.c: fix bug #4042 by applying patch by Christopher Bazley uses IS_AUTO() instead of sym->level && !IS_STATIC(sym->etype), marks block scope function declaration extern * support/valdiag/tests/bug-4042.c: new, added 2026-10-05 Philipp Klaus Krause * src/SDCCast.c, support/regression/tests/conditional-truth.c: Fix bug #4101: test the full scalar value when folding a conditional expression, patch by Christopher Bazley. 2026-10-05 Maarten Brock * debugger/mcs51/simi.c: fix bug #4111 by applying patch * sim/ucsim/src/sims/f8.src/disass.cc, * sim/ucsim/src/sims/f8.src/f8.cc: add parentheses to fix warning 2026-10-05 Philipp Klaus Krause * src/SDCCval.c, support/valdiag/tests/bitint-negation.c: Fix bug #4100: wrap negated unsigned bit-precise constants to their declared width, patch by Christopher Bazley. 2026-10-05 Maarten Brock * support/sdbinutils/bfd/asxxxx.c: Fix bug #4108 by applying patch 2026-10-05 Philipp Klaus Krause * src/SDCCopt.c: * support/regression/tests/bug-4109.c, support/valdiag/tests/bug-4109.c: Fix bug #4109: defer deletion of semantic dereferences until their diagnostics have been checked, then clear the markers and remove dead instructions; test pointer copies, null checks and single evaluation of &*. Patch by Christopher Bazley. * support/regression/tests/bug-2632.c, support/regression/tests/gcc-torture-execute-20001017-2.c, support/regression/tests/gcc-torture-execute-980506-3.c, support/regression/tests/gcc-torture-execute-980617-1.c, support/regression/tests/gcc-torture-execute-pr20601-1.c: Pick some regression test changes from the patch for bug #3952 by Christopher Bazley. 2026-10-04 Philipp Klaus Krause * device/include/stdbit.h, device/include/stdckdint.h, device/lib/strtol.c, device/lib/strtoll.c,