Recently, SDCC is allocating far too many spill
locations. Attached is some sample code that is
compiled with 54 SLOCs using 120 bytes of internal ram.
By comparison, a cvs checkout on March 18 uses only 4
SLOCs consuming 8 bytes of internal RAM.
I tried to pare this down to a managable example, but
it's still a couple hundred lines of code. The example
file is self contained with all the structs, typedefs
and function prototypes. I tested with "sdcc
--model-large -c dirlist.c". The excessive SLOC usage
also happens in small memory model.
In case the attachment does not work, you can grab a
copy of this test code with this URL:
email@example.com (for some reason, can't log in to
sourceforge this afternoon...)
Log in to post a comment.