2026-11-16 Gabriele Gorla * src/SDCCgen.c, src/SDCCgen.h, src/mos6502/gen.c, src/mos6502/gen.h, src/mos6502/genand.c, src/mos6502/genbuiltin.c, src/mos6502/genlshift.c, src/mos6502/genminus.c, src/mos6502/genor.c, src/mos6502/genplus.c, src/mos6502/genrot.c, src/mos6502/genrshift.c, src/mos6502/genxor.c, src/mos6502/main.c, src/mos6502/port_huc6280.c, src/mos6502/port_mos6502.c, src/mos6502/port_mos65c02.c, src/mos6502/ralloc.h, src/mos6502/stackops.c, src/mos6502/tempops.c: Moved emitComment to SDCCgen.c. Corrected a bug in cycles calculation. * device/lib/huc6280/crt0.s, device/lib/mos6502/crt0.s, device/lib/mos6502-stack-auto/crt0.s, device/lib/mos65c02/crt0.s, device/lib/mos65c02-stack-auto/crt0.s: Remove unnecessay area modifiers from crt0. * device/lib/Makefile.in: Fix bug #4259. * src/mos6502/gen.c, src/mos6502/gen.h, src/mos6502/genand.c, src/mos6502/genbuiltin.c, src/mos6502/genlshift.c, src/mos6502/genminus.c, src/mos6502/genor.c, src/mos6502/genplus.c, src/mos6502/genrshift.c, src/mos6502/genxor.c: Add probability in the branch cycle calculations. 2026-11-15 Christopher Bazley * src/SDCCast.c (isIncompleteAggregateType): New helper. (decorateType): Diagnose invalid pointer addition and subtraction, including operations on pointers to incomplete aggregate types and subtraction of pointers to incompatible types. Preserve existing void-pointer and function-pointer arithmetic extensions (bug #4085). * support/valdiag/tests/bug-4085.c: Add diagnostic tests for invalid pointer arithmetic, including array operands, and check continued support for void-pointer arithmetic. 2026-11-15 Philipp Klaus Krause * src/pic16/gen.c, src/pic16/glue.c: pic16 struct parameter support, patch #520 by zeynelsagcan. 2026-11-15 Gabriele Gorla * src/hc08/gen.c, src/hc08/gen.h, src/hc08/main.c, src/mos6502/gen.c, src/mos6502/gen.h, src/mos6502/genand.c, src/mos6502/genbuiltin.c, src/mos6502/genlshift.c, src/mos6502/genminus.c, src/mos6502/genor.c, src/mos6502/genplus.c, src/mos6502/genrot.c, src/mos6502/genrshift.c, src/mos6502/genxor.c, src/mos6502/main.c, src/mos6502/port_huc6280.c, src/mos6502/port_mos6502.c, src/mos6502/port_mos65c02.c, src/mos6502/pragma.c, src/mos6502/stackops.c, src/mos6502/tempops.c, src/port.h, src/hc08/port_hc08.c, src/hc08/port_s08.c, src/hc08/subport.h, src/mos6502/subport.h: Reduce the diff between mos6502 and hc08 ports. * hc08/Makefile.in, mos-common/setjmp.s, mos6502-stack-auto/setjmp.s, s08/Makefile.in, hc08/_mulint.s, hc08/atomic_flag_test_and_set.s, hc08/config.inc, hc08/setjmp.s, s08/_mulint.s, s08/atomic_flag_test_and_set.s,