re PR tree-optimization/63476 (ICE: tree check: expected ssa_name, have var_decl...
authorRichard Biener <rguenther@suse.de>
Fri, 10 Oct 2014 11:04:39 +0000 (11:04 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 10 Oct 2014 11:04:39 +0000 (11:04 +0000)
commit81231d139c7bb882fe12b6e1948d34c8b1e9daf0
treee638431b48966d3cc553743c8149eefa811f8246
parent327b20f5ab2b008af5dec106844b5fde87aeabf6
re PR tree-optimization/63476 (ICE: tree check: expected ssa_name, have var_decl in walk_aliased_vdefs_1, at tree-ssa-alias.c:2689)

2014-10-10  Richard Biener  <rguenther@suse.de>

PR tree-optimization/63476
* tree-ssa-pre.c (struct bb_bitmap_sets): Add vop_on_exit member.
(BB_LIVE_VOP_ON_EXIT): New define.
(create_expression_by_pieces): Assign VUSEs to stmts.
(compute_avail): Track BB_LIVE_VOP_ON_EXIT.
(pass_pre::execute): Assert virtual SSA form is up-to-date
after insertion.

* g++.dg/torture/pr63476.C: New testcase.

From-SVN: r216065
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr63476.C [new file with mode: 0644]
gcc/tree-ssa-pre.c