Menu

#2196 gcc-torture-execute-20020219-1.c fails for stm8

closed-works-for-me
None
STM8
5
2013-12-17
2013-07-16
No

Since we recognize invalid structions in the regression tests, we get a failure in regression test
gcc-torture-execute-20020219-1.c
for stm8. There are other such new failures, but most of the failing tests call some variant of printf() or use function pointers. This test doesn't as is quite short, which rules out bugs in printf() and function pointers.

The invalid instructions might be due to stack corruption in code generation. But if they aren't, then we have a bug in the assembler or simulator: The assembler wrongly generating an incorrect instruction or the simulator incorrectly reporting an error.

Philipp

Discussion

  • Philipp Klaus Krause

    Probably a duplicate of bug #2198.

    Philipp

     
  • Philipp Klaus Krause

    • status: open --> closed-works-for-me
    • assigned_to: Philipp Klaus Krause
     
  • Philipp Klaus Krause

    The test passes in current svn. Probably was a duplicate of #2227, which is now worked around by the compiler.

    Philipp

     

Log in to post a comment.