Attached is a patch to address #1689 by moving the argc check for a known procedure call into the analysis phase (on first analysis) so that even with -O0 this check is done, as runtime-checks are disabled for such calls in general.
felix ATTACH /home/felix/chicken/chicken-core/../0001-Check-known-call-argument-count-in-analysis-phase.patch