Re [[musttail]]: it can be used as a (superior) alternative to computed gotos, so it was proposed for gcc, but it couldn’t be made to work for all targets. People on the gcc mailing list mentioned that Clang would crash on Power64 1.
As a workaround, one can enable only the tail call optimization with -foptimize-sibling-calls.
Preliminary discussion: https://lobste.rs/s/njzpyq/i_accidentally_scheme
Re
[[musttail]]
: it can be used as a (superior) alternative to computed gotos, so it was proposed forgcc
, but it couldn’t be made to work for all targets. People on thegcc
mailing list mentioned that Clang would crash on Power64 1.As a workaround, one can enable only the tail call optimization with
-foptimize-sibling-calls
.