re PR tree-optimization/51879 (Missed tail merging with non-const/pure calls)
authorTom de Vries <tom@codesourcery.com>
Fri, 6 Jul 2012 11:22:06 +0000 (11:22 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Fri, 6 Jul 2012 11:22:06 +0000 (11:22 +0000)
commit6867d9a9c5d90644fd0d1a20c802dc10cdd2c614
treeb8a5232a7a7ad1c720000d14143a6703598865c1
parent6cf5e1d0514b6bba0e3b5d59b440dd7a451e6d1f
re PR tree-optimization/51879 (Missed tail merging with non-const/pure calls)

2012-07-06  Tom de Vries  <tom@codesourcery.com>

PR tree-optimization/51879
* tree-ssa-sccvn.c (copy_reference_ops_from_call)
(visit_reference_op_call): Handle case that lhs is not an SSA_NAME.
(visit_use): Also call visit_reference_op_call for calls with a vdef.

From-SVN: r189323
gcc/ChangeLog
gcc/tree-ssa-sccvn.c