https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117469
--- Comment #5 from Luke Shumaker ---
Indeed. My mistake.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117469
--- Comment #4 from Alexander Monakov ---
The code in comment #3 is invalid: siglongjmp is called when the state saved in
env is no longer valid: plat_setjmp has returned (and the stack slot where its
return address is stored is overwritten).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117469
Luke Shumaker changed:
What|Removed |Added
CC||lukeshu at lukeshu dot com
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117469
--- Comment #2 from Alexander Monakov ---
(In reply to Xi Ruoyao from comment #1)
> So if the tail-call uses [[musttail]] the alternative 3 should be "fine"?
Yes, plus annotating the callees that return twice with the attribute is still
require
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117469
Xi Ruoyao changed:
What|Removed |Added
CC||xry111 at gcc dot gnu.org
--- Comment #1 fr