This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Thanks.  Doesn't need -m32, actually.

 923       /* There's no way to distinguish an access to the same member
 924          of a structure from one to two distinct members of the same
 925          structure.  Give up to avoid excessive false positives.  */
 926       tree basetype = TREE_TYPE (TREE_TYPE (dstref->base));
 927       if (RECORD_OR_UNION_TYPE_P (basetype))
 928         return false;

basetype is null here.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]