Eric Botcazou wrote: >> This test can easily be changed not to use optimize since it doesn't look >> like it needs it. We really need to tests these builtins properly, >> otherwise they will continue to fail on most targets. > > As far as I can see PR target/84521 has been reported only for Aarch64 so I'd > just leave the other targets alone (and avoid propagating FUD if possible).
It's quite obvious from PR84521 that this is an issue affecting all targets. Adding better generic tests for __builtin_setjmp can only be a good thing. Wilco