https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107840
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I don't think it is directly __builtin_call_with_static_chain but rather the non-local jump causing issues.
pinskia at gcc dot gnu.org via Gcc-bugs Wed, 23 Nov 2022 08:59:55 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107840
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I don't think it is directly __builtin_call_with_static_chain but rather the non-local jump causing issues.