aboutsummaryrefslogtreecommitdiff
path: root/gcc/cse.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2009-01-28 12:14:09 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2009-01-28 12:14:09 +0000
commitde081cfd3b88d197c6c3e545c6d55581140c7c21 (patch)
treee22ed45816e3ff1acc6a5f7a1c09d36975f8d64f /gcc/cse.c
parenta9d386a14ff953d7d3a6365cfe49dae318a1f7b1 (diff)
downloadgcc-de081cfd3b88d197c6c3e545c6d55581140c7c21.zip
gcc-de081cfd3b88d197c6c3e545c6d55581140c7c21.tar.gz
gcc-de081cfd3b88d197c6c3e545c6d55581140c7c21.tar.bz2
re PR tree-optimization/38926 (ice in find_or_generate_expression, at tree-ssa-pre.c:2769)
2009-01-28 Richard Guenther <rguenther@suse.de> PR tree-optimization/38926 * tree-ssa-pre.c (add_to_value): Assert we add only expressions with the correct value id to a value. (do_regular_insertion): Use the value number of edoubleprime for the value number of the expr. Revert 2008-08-21 Richard Guenther <rguenther@suse.de> * tree-ssa-pre.c (insert_into_preds_of_block): Before inserting a PHI ask VN if it is already available. * tree-ssa-sccvn.h (vn_phi_lookup): Declare. * tree-ssa-sccvn.c (vn_phi_lookup): Export. * gcc.c-torture/compile/pr38926.c: New testcase. From-SVN: r143725
Diffstat (limited to 'gcc/cse.c')
0 files changed, 0 insertions, 0 deletions