https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80295
--- Comment #10 from Qing Zhao <qing.zhao at oracle dot com> --- Comment on attachment 42319 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42319 proposed patch The implementation of __builtin_update_setjmp_buf is incorrect. It takes a pointer as an operand and treats the Mode of the pointer as Pmode, which is not correct. a conversion from ptr_mode to Pmode is needed.