Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#2066 FATAL Compiler Internal Error in gen.c

closed-duplicate
Erik Petrich
5
2013-05-25
2012-07-24
jda2158
No

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.

Discussion

  • jda2158
    jda2158
    2012-07-24

    8051 Based Project Archive

     
  • Erik Petrich
    Erik Petrich
    2012-10-08

    Same root cause as bug #3527222.
    Fixed in revision #8143.

     
  • Erik Petrich
    Erik Petrich
    2012-10-08

    • milestone: --> fixed
    • assigned_to: nobody --> epetrich
    • status: open --> closed-duplicate