When compiling the attached files using sdcc 3.6.9 #9990 with
sdcc -mz80 --max-allocs-per-node 2200000 --opt-code-size --std-c99 test.c
SDCC hangs. On the other hand, when using --max-allocs-per-node 2200000, compilation takes about 7 minutes on my i7-7500U running Debian GNU/Linux.
Philipp
This is a bug in lospre (gdb find sdcc in lospre after a while, --nolospre is a workaround).
Philipp
I can't reproduce this issue in current SDCC. Not even at 10 times the value for --max-allocs-per-node. I guess it got fixed in the recent lospre bugfixes to address other bugs (probably bug #2673).
Philipp