aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-sccvn.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2017-04-20 14:23:10 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2017-04-20 14:23:10 +0000
commit8ee1b0a013d0bbfc70a8165a52cf64d3157c1e96 (patch)
tree164e789be3a472c505c90529a9468c6b45ff4d48 /gcc/tree-ssa-sccvn.h
parent798d7f42dc0c713abcf6b58ed9f1ff4e36391442 (diff)
downloadgcc-8ee1b0a013d0bbfc70a8165a52cf64d3157c1e96.zip
gcc-8ee1b0a013d0bbfc70a8165a52cf64d3157c1e96.tar.gz
gcc-8ee1b0a013d0bbfc70a8165a52cf64d3157c1e96.tar.bz2
re PR debug/80453 (another compare-debug failure)
2017-04-20 Richard Biener <rguenther@suse.de> PR tree-optimization/80453 * tree-ssa-sccvn.h (struct vn_phi_s): Add cclhs and ccrhs members. * tree-ssa-sccvn.c (cond_stmts_equal_p): Use recorded lhs and rhs from the conditions. (vn_phi_eq): Pass them down. (vn_phi_lookup): Record them. (vn_phi_insert): Likewise. From-SVN: r247024
Diffstat (limited to 'gcc/tree-ssa-sccvn.h')
-rw-r--r--gcc/tree-ssa-sccvn.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree-ssa-sccvn.h b/gcc/tree-ssa-sccvn.h
index 4e63ad7..ec00c37 100644
--- a/gcc/tree-ssa-sccvn.h
+++ b/gcc/tree-ssa-sccvn.h
@@ -67,6 +67,9 @@ typedef struct vn_phi_s
hashval_t hashcode;
vec<tree> phiargs;
basic_block block;
+ /* Controlling condition lhs/rhs. */
+ tree cclhs;
+ tree ccrhs;
tree type;
tree result;
} *vn_phi_t;