SDCC : mcs51/gbz80/z80/z180/r2k/r3ka/ds390/pic16/pic14/TININative/ds400/hc08/s08
3.2.0 #8008 (Jul 6 2012) (MINGW32)
source\\tasks.c:668: error 9: FATAL Compiler Internal Error in file \'/home/sdcc-b
uilder/build/sdcc-build/orig/sdcc/src/mcs51/gen.c\' line number \'434\' : getFreePt
r should never reach here
Contact Author with source code
I should probably mention a few details which may or may not be related to this issue...the impetus for using the \'--xstack\' and \'--stack-auto\' flags when building my project was in the hopes of freeing up space in internal ram. I believe that my code was utilizing too many \'bool\' type variables and I was getting strange linker errors which made no sense to me as variables were defined locally and correctly. I guess all bools are actually globals....? Insight into this issue would be appreciated, but may need to be addressed elsewhere.
Anyway, to this end I needed to make and copy my own xstack-auto libraries into my sdcc installation; I built these from SDCC 3.2.0 source using cygwin. I can provide additional materials if needed...but compiler internals are not my current strength. See the file \"build-wsmd.bat\" for the batch file I use to build this project inside the attached archive. Apologies for any difficulties in dealing with this archive.