#1422 Evelyn jumps into the void

closed-fixed
8
2013-05-25
2008-01-20
No

This is a problem I have often seen in complicated code; it just went away when doing small changes to the code.

Now I finally managed to create a small testcase triggering the problem.

When I compile the attached file using

sdcc -mz80 evelyn.c

sdcc generates assembler code that contains a jump to a nonexisting label. In the attached example a jump to $00115 is generated (it should probably go to $00106 instead)
I always found the nonexisting jump target to have a number somewhat higher than all existing labels.

I use sdcc 2.7.2 #4861.

Philipp

Discussion

<< < 1 2 (Page 2 of 2)
  • Borut Ražem

    Borut Ražem - 2009-03-10

    Fixed in svn revision #5408.

    Borut

     
  • Borut Ražem

    Borut Ražem - 2009-03-10
    • milestone: --> fixed
    • assigned_to: nobody --> borutr
    • status: open --> closed-fixed
     
<< < 1 2 (Page 2 of 2)

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks