diff options
author | Richard Biener <rguenther@suse.de> | 2016-11-02 08:13:29 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2016-11-02 08:13:29 +0000 |
commit | 3cea049a4fbfd0a81690d12d383d6a27246c98b7 (patch) | |
tree | 5aed40c855640aecf09cdcd2b7f19733e69de169 | |
parent | 4280df0abc2d692924ab45dd95c6ef0dc61703ea (diff) | |
download | gcc-3cea049a4fbfd0a81690d12d383d6a27246c98b7.zip gcc-3cea049a4fbfd0a81690d12d383d6a27246c98b7.tar.gz gcc-3cea049a4fbfd0a81690d12d383d6a27246c98b7.tar.bz2 |
re PR middle-end/78047 (Chromium apparently gets miscompiled)
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
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/tree-ssa-structalias.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 163f5f6..5fdafbf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 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 infer_value_range on stmt ops and update value-ranges. Dump visited stmts and blocks. diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c index fb364f1..a0110bc 100644 --- a/gcc/tree-ssa-structalias.c +++ b/gcc/tree-ssa-structalias.c @@ -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); } |