Menu

#1019 Implement structreturn of size >8 for MOS6502

None
open
nobody
5
2026-05-16
2026-05-03
No

For a few test cases of returning struct, I see mos6502 fail at assembly time ("Error: <o> .org in REL area or directive / mnemonic error"). To reproduce, enable any of the following three regression tests for mos6502: gte/pr30185, gte/pr58365, tests/gcc-torture-execute-20001026-1 for mos6502.</o>

Discussion

  • Gabriele Gorla

    Gabriele Gorla - 2026-05-08

    All 3 tests use struct return of size >8 which is not currently supported.

     
  • Gabriele Gorla

    Gabriele Gorla - 2026-05-08
    • Category: other --> MOS6502
     
  • Philipp Klaus Krause

    Ticket moved from /p/sdcc/bugs/3982/

    Can't be converted:

    • _category: MOS6502
     
  • Gabriele Gorla

    Gabriele Gorla - 2026-05-16
    • summary: mos6502 struct return issue - invalid asm? --> Implement mos6502 structreturn of size &gt;8
    • Group: -->
     
  • Gabriele Gorla

    Gabriele Gorla - 2026-05-16
    • summary: Implement mos6502 structreturn of size &gt;8 --> Implement structreturn of size &gt;8 for MOS6502
     

Log in to post a comment.

MongoDB Logo MongoDB