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

open
nobody
None
Z80
5
2015-07-21
2014-02-03
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

  • Ben Shi

    Ben Shi - 2015-05-28

    Shall we mark the old register allocator deprecated? I thought we need not two of them work simultaneously.

     
  • Ben Shi

    Ben Shi - 2015-07-21
    • Category: other --> Z80
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks