[Bug middle-end/80295] [7/8 Regression] ICE in __builtin_update_setjmp_buf expander
qing.zhao at oracle dot com
gcc-bugzilla@gcc.gnu.org
Fri Oct 6 19:45:00 GMT 2017
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.
More information about the Gcc-bugs
mailing list