diff options
author | Richard Biener <rguenther@suse.de> | 2015-07-23 14:31:44 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2015-07-23 14:31:44 +0000 |
commit | d057c8669b2ca758096697826647bdc06f77c336 (patch) | |
tree | b825dc9fc48e85dddf5705132c0c5adb5a343656 /gcc/tree-ssa-sccvn.c | |
parent | dc891fe75e30646dea032b06ab484d814c7e05b6 (diff) | |
download | gcc-d057c8669b2ca758096697826647bdc06f77c336.zip gcc-d057c8669b2ca758096697826647bdc06f77c336.tar.gz gcc-d057c8669b2ca758096697826647bdc06f77c336.tar.bz2 |
generic-match-head.c: Include cgraph.h.
2015-07-23 Richard Biener <rguenther@suse.de>
* 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
Diffstat (limited to 'gcc/tree-ssa-sccvn.c')
-rw-r--r-- | gcc/tree-ssa-sccvn.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); } |