[Bug c++/78201] [7 Regression] ICE in tree_to_shwi, at tree.h:4037 (seen both on ARM32 an AArch64)

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 4 08:20:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78201

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
DECL_SIZE is always sizetype (unsigned), so using tree_to_shwi looks odd.  Of
course this is a local object on the stack which never should use anchors
so the fix should be in the caller (which you omit from the stack trace).


More information about the Gcc-bugs mailing list