This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/84526] [8 Regression] ICE in generic_overlap at gcc/gimple-ssa-warn-restrict.c:927 since r257860
- From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 23 Feb 2018 10:53:06 +0000
- Subject: [Bug tree-optimization/84526] [8 Regression] ICE in generic_overlap at gcc/gimple-ssa-warn-restrict.c:927 since r257860
- Auto-submitted: auto-generated
- References: <bug-84526-4@http.gcc.gnu.org/bugzilla/>
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.