#2209 gcc-torture-execute-930614-2 fails for stm8

closed-fixed
None
STM8
6
2013-09-01
2013-09-01
No

Regression test gcc-torture-execute-930614-2 has recently (somewhere around revision 8825) started failing for stm8. I think the problem is in genIpush with a 32-bit operand:
; genIPush
ldw x, y
ldw x, (0x318, x)
pushw x
ldw x, y
ldw x, (0x318, x)
pushw x
; genCall
call ___fslt

It appears that the least significant 16-bits are pushed twice and the upper 16-bits are discarded (I am not absolutely sure, but I think this is little endian).

Discussion

  • Philipp Klaus Krause

    • assigned_to: Philipp Klaus Krause
    • Priority: 5 --> 6
     
  • Philipp Klaus Krause

    Fixed in revision #8826.

    Philipp

     
  • Philipp Klaus Krause

    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks