re PR middle-end/78047 (Chromium apparently gets miscompiled)
authorRichard Biener <rguenther@suse.de>
Wed, 2 Nov 2016 08:13:29 +0000 (08:13 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 2 Nov 2016 08:13:29 +0000 (08:13 +0000)
2016-11-02  Richard Biener  <rguenther@suse.de>

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

gcc/ChangeLog
gcc/tree-ssa-structalias.c

index 163f5f68ffb416e7195c33923b79212b62de5084..5fdafbfac06e0e962285ec096dd2b15d7e96deb8 100644 (file)
@@ -1,3 +1,9 @@
+2016-11-02  Richard Biener  <rguenther@suse.de>
+
+       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  <rguenther@suse.de>
 
        * tree-vrp.c (evrp_dom_walker::before_dom_children): Call
index fb364f1319d668e1ade94985d84f916cf9e551dc..a0110bcfccb682ea1519dc950198dad3a025c30c 100644 (file)
@@ -5566,7 +5566,7 @@ push_fields_onto_fieldstack (tree type, vec<fieldoff_s> *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);
              }