From 8ee1b0a013d0bbfc70a8165a52cf64d3157c1e96 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Thu, 20 Apr 2017 14:23:10 +0000 Subject: re PR debug/80453 (another compare-debug failure) 2017-04-20 Richard Biener 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 --- gcc/tree-ssa-sccvn.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/tree-ssa-sccvn.h') 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 phiargs; basic_block block; + /* Controlling condition lhs/rhs. */ + tree cclhs; + tree ccrhs; tree type; tree result; } *vn_phi_t; -- cgit v1.1