re PR tree-optimization/31254 (verify_ssa failed: type mismatch between an SSA_NAME...
authorAndrew Pinski <andrew_pinski@playstation.sony.com>
Mon, 19 Mar 2007 13:36:29 +0000 (13:36 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 19 Mar 2007 13:36:29 +0000 (13:36 +0000)
commit60e0af94184fd0ca0a9de35f8abe31f22537b655
tree5d5924d36ea276f32b54a6e14048922b48868cfd
parent3d16fe64c5be0a0ff96b98e78008441b8ab5b35c
re PR tree-optimization/31254 (verify_ssa failed: type mismatch between an SSA_NAME and its symbol)

2007-03-19  Andrew Pinski  <andrew_pinski@playstation.sony.com>
Richard Guenther  <rguenther@suse.de>

PR tree-optimization/31254
* tree-ssa-forwprop.c (forward_propagate_addr_expr_1):
Use handled_component_p () where appropriate.  Continue
propagating into the rhs if we propagated into an INDIRECT_REF
on the lhs.

* gcc.dg/torture/pr31254.c: New testcase.

Co-Authored-By: Richard Guenther <rguenther@suse.de>
From-SVN: r123060
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr31254.c [new file with mode: 0644]
gcc/tree-ssa-forwprop.c