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).
The issue can be reproduced by enabling the regression test gcc-torture-execute-950704-1.c.
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.
Log in to post a comment.