Compiling the attached code using sdcc 3.6.9 #9990 results in:
philipp@notebook5:/tmp$ sdcc test2.c
test2.c:9: warning 112: function 'tile_at' implicit declaration
test2.c:9: error 101: too many parameters
test2.c:9: error 9: FATAL Compiler Internal Error in file 'SDCCast.c' line number '5513' : node PARAM shouldn't be processed here
Contact Author with source code
While there is a declaration missing in the code, this shouldn't result in internal errors.
Philipp