Menu

#2802 gcc-test-torture-execute-arith-rand fails for mcs51 medium model with --stack auto on OpenBSD on PowerPC

closed-out-of-date
None
MCS51
5
2023-01-26
2018-08-22
No

When executing the regression tests for current SDCC #10512 on an OpenBSB 6.3 system on a PowerPC machine, the test gcc-test-torture-execute-arith-rand fails for the target test-mcs51-large-stack-auto (but neither for test-mcs51-small nor test-mcs51-medium).

Philipp

Related

Bugs: #2887
Wiki: NGI0-Entrust-SDCC

Discussion

  • Philipp Klaus Krause

    The test also passes for test-mcs51-stack-auto, test-mcs51-large and test-mcs51-huge. I have attached the .asm for test-mcs51-large-stack-auto, which is quite different (e.g. in which variables are allocated where) to the .asm generated on a GNU/Linux on amd64 host.

    Philipp

     

    Last edit: Philipp Klaus Krause 2018-08-22
    • Maarten Brock

      Maarten Brock - 2018-08-26

      Compared the generated asm briefly against one from amd64 Linux. It's funny how all variables are placed in different places on the stack. But it doesn't seem to introduce any overwritten register or something like that.

       
  • Philipp Klaus Krause

    • status: open --> closed-out-of-date
    • assigned_to: Philipp Klaus Krause
     
  • Philipp Klaus Krause

    The test passes for me using sdcc from current svn.

     

Log in to post a comment.