Menu

#3470 Compiler crash

open
nobody
None
other
5
2023-03-10
2022-09-01
No

When trying to compile the attached file for stm8 or z80, sdcc from current trunk crashes. The file is manually simplified code originally created by csmith.

1 Attachments

Related

Bugs: #3483

Discussion

  • Philipp Klaus Krause

     
  • Philipp Klaus Krause

    I see the issue for -mz80, -mstm8. -mhc08 --stack-auto. But not for -mpdk14, -mmcs51, -mhc08.
    So apparently we get this problem when local variables are on the stack.

     
  • Philipp Klaus Krause

    The main issue is fixed in [r13692], however there are apparently further issues that affect -mmcs51 --stack-auto and -mpdk15 --stack-auto.

     

    Related

    Commit: [r13692]


    Last edit: Philipp Klaus Krause 2022-09-06
    • Philipp Klaus Krause

      Testing with current SDCC [r12904], apparently this works now for -mpdk15 --stack-auto.

       
  • Felix

    Felix - 2023-02-17

    Bug #3483 is fixed. how does it relate to this one?

     
    • Philipp Klaus Krause

      SourceForge marks tickets as related when they are mentioned in each other's discussion. In this case, this happened since [bugs:#3483] was discovered using a code sample originally meant to reproduce this bug.

       

      Related

      Bugs: #3483


Log in to post a comment.

MongoDB Logo MongoDB