While trying to sort out my code that seems to have some sort of memory
allocation issue, I noticed the following following error (?) message
on the console.
(I usually compile from within Eclipse, so I've not noticed this
before):


Compiling with:

/usr/local/bin/sdcc -c "-Wl,-m,-s 18f4550.lkr" -mpic16 -p18f4550
--disable-warning 85 --std-sdcc99  main.c -o ../obj/main.o


Ouputs:

ralloc.c:3808 remiCodeFromeBBlock:      iTemp109 [k180 lr179:182 so:0]{
ia0 a2p0 re0 rm0 nos1 ru0 dp0}{int} := iTemp110 [k181 lr177:207 so:0]{
ia0 a2p0 re0 rm0 nos0 ru0 dp0}{int}


What is going on? Could this be related to my memory allocation
issues?

My memory allocation issues is that it  seems that something is
overwriting memory because after about one minute a simple 32 bit
calculation
in one routine (which gets executed about 20 times during that one
minute) starts to give wrong results.

Also I use a few bytes more memory, my printf/usarts stops function.

Not observed any crashes and interrupt/main program keep running. Just
that simple calculation fails and prints stops printing.

This is 100% repeatable.

br Kusti


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to