From: Richard Biener Date: Wed, 2 Nov 2016 08:13:29 +0000 (+0000) Subject: re PR middle-end/78047 (Chromium apparently gets miscompiled) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3cea049a4fbfd0a81690d12d383d6a27246c98b7;p=gcc.git re PR middle-end/78047 (Chromium apparently gets miscompiled) 2016-11-02 Richard Biener PR tree-optimization/78047 * tree-ssa-structalias.c (push_fields_onto_fieldstack): Initialize fake field at offset zero conservatively regarding to may_have_pointers. From-SVN: r241775 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 163f5f68ffb..5fdafbfac06 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2016-11-02 Richard Biener + + PR tree-optimization/78047 + * tree-ssa-structalias.c (push_fields_onto_fieldstack): Initialize + fake field at offset zero conservatively regarding to may_have_pointers. + 2016-11-02 Richard Biener * tree-vrp.c (evrp_dom_walker::before_dom_children): Call diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c index fb364f1319d..a0110bcfccb 100644 --- a/gcc/tree-ssa-structalias.c +++ b/gcc/tree-ssa-structalias.c @@ -5566,7 +5566,7 @@ push_fields_onto_fieldstack (tree type, vec *fieldstack, && offset + foff != 0) { fieldoff_s e - = {0, offset + foff, false, false, false, false, NULL_TREE}; + = {0, offset + foff, false, false, true, false, NULL_TREE}; pair = fieldstack->safe_push (e); }