Menu

#3359 Rematerialization of stack parameter addresses off by 2 when returning long long or struct

closed-fixed
None
STM8
5
2022-03-24
2022-03-18
No

While working on struct parameters I ran into a preexisting stm8 codegen bug:

When a function return its value via a hidden pointer parameter (i.e. it return long long, struct, union or a _BitInt(N) with N > 8), rematerialization of on stack-addresses doesn't take into account the 2 byte offset from the hidden parameter.

Related

Wiki: NGI0-Entrust-SDCC

Discussion

  • Philipp Klaus Krause

    • summary: Rematerilaization of stack parameter addresses off by 2 when returning long long or struct --> Rematerialization of stack parameter addresses off by 2 when returning long long or struct
     
  • Philipp Klaus Krause

    Fixed in [r13262].

     

    Related

    Commit: [r13262]

  • Philipp Klaus Krause

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

Log in to post a comment.

MongoDB Logo MongoDB