[Bug tree-optimization/84526] [8 Regression] ICE in generic_overlap at gcc/gimple-ssa-warn-restrict.c:927 since r257860

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 23 16:43:00 GMT 2018


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

--- Comment #6 from Martin Sebor <msebor at gcc dot gnu.org> ---
The affected bit of code assumes dstref->base is an array and doesn't check to
see if it's something else.  In both of these cases it's a VAR_DECL so
TREE_TYPE (TREE_TYPE (dstref->base)) returns null.


More information about the Gcc-bugs mailing list