SourceForge has been redesigned. Learn more.
Close

#2117 Calling functions that return long long without using the v.

closed-fixed
z80 port (188)
other
5
2014-11-10
2012-12-27
No

Code generation for calling functions that return long long is broken (tested in revision #8293) when the return value is not used (caught by an assertion in code generation).

Philipp

Discussion

  • Philipp Klaus Krause

    The issue can be reproduced by enabling the regression test gcc-torture-execute-950704-1.c.

    Philipp

     
  • Philipp Klaus Krause

    Implemented in revision #9102 for z80, z180, gbz80, r2k, r3ka, tlcs90 and stm8 ports. On hc08 and s08 returning long long seems to be broken no matter if the value is used. The other ports don't have log long yet.

    Philipp

     
  • Philipp Klaus Krause

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

Log in to post a comment.