Menu

#1954 --oldralloc bug 1

closed-fixed
z80 port (189)
5
2012-03-02
2012-02-28
Woody
No

1. Sample code bug5.c with necessary .h files in attached oldalloc.zip.
2. Command line used: C:\SDCC\BIN\sdcc bug5.c -mz80 -c --std-c99 --oldralloc --codeseg CODE5
3. SDCC -v: SDCC : mcs51/gbz80/z80/z180/r2k/ds390/pic16/pic14/TININative/ds400/hc08 3.1.3 #7
371 (Feb 28 2012) (MINGW32)
4. bug5.c line 113, where Sip_pCurLcb->pFrom is inccrrectly set to NULL. Correct when using command line "C:\SDCC\BIN\sdcc bug5.c -mz80 -c --std-c99 --codeseg CODE5"
This bug is very similar with bug 3122620, which came at a time and disappear (strangely for me at least) after several version update. In bug 3122620, similar pointers were set to NULL after calling exactly the same function free() and heap_save_str().

Discussion

  • Woody

    Woody - 2012-02-28
     
  • Philipp Klaus Krause

    • assigned_to: nobody --> spth
    • status: open --> closed-fixed
     
  • Philipp Klaus Krause

    Fixed inre vision #7393.

    Philipp

     

Log in to post a comment.

MongoDB Logo MongoDB