re PR tree-optimization/65241 (ICE (in remove_local_expressions_from_table, at tree...
authorJeff Law <law@redhat.com>
Tue, 3 Mar 2015 11:54:49 +0000 (04:54 -0700)
committerJeff Law <law@gcc.gnu.org>
Tue, 3 Mar 2015 11:54:49 +0000 (04:54 -0700)
commit2f159d9f86705209595b1b8de719231c2f5fae33
tree5171a8e85f5a8f6e5aa6b698ed2026c29c5e2b5e
parent5cb8b86edef7b3334f7a6ec620dfd4e80b9b1300
re PR tree-optimization/65241 (ICE (in remove_local_expressions_from_table, at tree-ssa-dom.c:1081))

PR tree-optimization/65241
* tree-ssa-dom.c (lookup_avail_expr): Only modify the avail_expr
hash table if INSERT is true.

PR tree-optimization/65241
* gcc.c-torture/compile/pr65241.c: New test.

From-SVN: r221145
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr65241.c [new file with mode: 0644]
gcc/tree-ssa-dom.c