#1922 Array access writing to wrong location.

closed-fixed
z80 port (188)
7
2012-01-31
2012-01-31
No

There is a bug in current (revision #7268) sdcc that results in some array accesses going to the wrong lcoation if the local stack size exceeds the range reachable by the frame pointer in the z80 port.

Discussion

    • priority: 5 --> 7
     
  • Increasing priority since bad code is silently generated.

    There now is an (#ifdefed) regression test for this issue at support/regression/tests/bug3482146.c.

    Philipp

     
  • Fixed in revision #7270.

    Philipp

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