#2183 Wrong label reference count

closed-fixed
None
STM8
5
2013-08-30
2013-06-08
No

In the stm8 port, the label reference count seems to be wrong. This affects peephole rules that would use this reference count. To see the impact, uncomment peephole 14 in src/stm8/peeph.def, which is meant to remove unreferenced labels. The same rules works for the z80 port as peephole 149 in src/z80/peeph-z80.def, so this seems to be an stm8-specific issue.
I noticed this issue in sdcc revision #8714.

Philipp

Discussion

  • Philipp Klaus Krause

    • assigned_to: Philipp Klaus Krause
     
  • Philipp Klaus Krause

    Fixed in revision #8786 (along with enabling some peephole using the reference count).

    Philipp

     
  • Philipp Klaus Krause

    • status: open --> open-fixed
     
  • Philipp Klaus Krause

    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:





No, thanks