Menu

#1679 16 bit addition followed by comparison broken by peepholes

closed-fixed
z80 port (189)
5
2010-08-26
2010-08-24
No

Additions of 8 bit values to 16 bit values with the result being used in a comparison with another 16 bit value only are currently broken.

sdcc 2.9.7 #5938. The problem does not occour when using --no-peep.

Philipp

Discussion

  • Philipp Klaus Krause

     
  • Philipp Klaus Krause

    Fixed in rev. #5948.

    Not addign a regression test: Due to function prologue and epilogue in regression tests the bug can only be reproduced outside of regression testing.

    Philipp

     
  • Philipp Klaus Krause

    • assigned_to: nobody --> spth
    • status: open --> closed-fixed
     

Log in to post a comment.