d:\Infocom\LED_clock\firmware\bug>sdcc -mmcs51 --opt-code-size --model-small --Werror --no-xinit-opt --std-sdcc99 -DPCB=PCB -DF_CPU=12000000 -c -o main.rel main.c
main.c:14: error 9: FATAL Compiler Internal Error in file '/home/sdcc-builder/build/sdcc-build/orig/sdcc/src/SDCCicode.c' line number '813' : code generator internal error
Contact Author with source code
Caught signal 11: SIGSEGV
I've simplified the code sample a a bit. I see the same problem for the stm8 and z80 targets, so this doesn't seem mcs51-specific to me:
Last edit: Philipp Klaus Krause 2020-03-22
Further simplification:
I can't reproduce this bug in current SDCC. So I just added a regression test in [r13376].
Related
Commit: [r13376]