This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/80295] [7/8 Regression] ICE in __builtin_update_setjmp_buf expander
- From: "wilco at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 06 Oct 2017 14:33:16 +0000
- Subject: [Bug middle-end/80295] [7/8 Regression] ICE in __builtin_update_setjmp_buf expander
- Auto-submitted: auto-generated
- References: <bug-80295-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80295
Wilco <wilco at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |wilco at gcc dot gnu.org
--- Comment #6 from Wilco <wilco at gcc dot gnu.org> ---
The implementation of __builtin_update_setjmp_buf is incorrect, it takes a
pointer (ie. SImode in ILP32) and treats the result of the add as Pmode
(DImode). So it's missing a cast to Pmode.