https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121515
Bug ID: 121515
Summary: jit.dg/test-error-impossible-must-tail-call.c fails on
every arch I've tried
Product: gcc
Version: unknown
Status: UNCONFIRMED
Keywords: testsuite-fail
Severity: normal
Priority: P3
Component: jit
Assignee: dmalcolm at gcc dot gnu.org
Reporter: dmalcolm at gcc dot gnu.org
CC: antoyo at gcc dot gnu.org
Target Milestone: ---
This test seems to have started failing with:
FAIL: test-error-impossible-must-tail-call.c.exe iteration 1 of 5: verify_code:
actual: "cannot tail-call: memory reference or volatile after call" !=
expected: "cannot tail-call: callee returns a structure"
We have:
91 CHECK_STRING_VALUE (gcc_jit_context_get_first_error (ctxt),
92 "cannot tail-call: callee returns a structure");
but it's failing with:
"cannot tail-call: memory reference or volatile after call"
I added the test way back in r7-934-g15c671a79ca66d.
r15-2125-g81824596361cf4 introduced the new error message.
Looks like the jit test is over-specified, and should be updated to reflect the
changed error message.