#2249 Compiling printf_large.c with --oldralloc gives FATAL Compiler Internal Error in ralloc.c line 1354: isSymbolEqual

open
nobody
None
other
5
2014-02-03
2014-02-03
Brian Ruthven
No

$ sdcc --version
SDCC : z80 3.3.2 #8936 (Jan 9 2014) (Solaris i386)
published under GNU General Public License (GPL)

printf_large.c comes from the same version of sdcc.

$ sdcc --oldralloc --std-c99 -mz80 -c printf_large.c
printf_large.c:872: error 9: FATAL Compiler Internal Error in file 'ralloc.c' line number '1354' : isSymbolEqual (sym, OP_SYMBOL (IC_RESULT (ic)))
Contact Author with source code
$ echo $?
1

Compiling without --oldralloc works as expected:
$ sdcc --std-c99 -mz80 -c printf_large.c
$ echo $?
0

Discussion