From d057c8669b2ca758096697826647bdc06f77c336 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Thu, 23 Jul 2015 14:31:44 +0000 Subject: generic-match-head.c: Include cgraph.h. 2015-07-23 Richard Biener * generic-match-head.c: Include cgraph.h. * gimple-match-head.c: Likewise. * tree-ssa-sccvn.c (free_scc_vn): Guard against newly created SSA names. * fold-const.c (fold_binary_loc): Move &A ==/!= &B simplification... * match.pd: ...to a pattern here. Add &A ==/!= 0 simplification pattern. From-SVN: r226111 --- gcc/tree-ssa-sccvn.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/tree-ssa-sccvn.c') diff --git a/gcc/tree-ssa-sccvn.c b/gcc/tree-ssa-sccvn.c index c20f1cc..ab4b110 100644 --- a/gcc/tree-ssa-sccvn.c +++ b/gcc/tree-ssa-sccvn.c @@ -4223,6 +4223,8 @@ free_scc_vn (void) { tree name = ssa_name (i); if (name + && SSA_NAME_VERSION (name) < vn_ssa_aux_table.length () + && vn_ssa_aux_table[SSA_NAME_VERSION (name)] && VN_INFO (name)->needs_insertion) release_ssa_name (name); } -- cgit v1.1