re PR tree-optimization/65136 (VRP inserts unnecessary constant copy in the loop)
authorRichard Biener <rguenther@suse.de>
Fri, 20 Feb 2015 16:58:11 +0000 (16:58 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 20 Feb 2015 16:58:11 +0000 (16:58 +0000)
commit31935398315662c9155d2f87e82f10463a023b6f
tree626e47bda91bb20ad107020c730cebfaa3560ba7
parent8b0487010cf07edbb687ff160f396c7ff6b4634a
re PR tree-optimization/65136 (VRP inserts unnecessary constant copy in the loop)

2015-02-20  Richard Biener  <rguenther@suse.de>

PR tree-optimization/65136
* tree-ssa-propagate.c: Include cfgloop.h.
(replace_phi_args_in): Avoid replacing loop latch edge PHI
arguments with constants.

* gcc.dg/tree-ssa/pr65136.c: New testcase.

From-SVN: r220876
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr65136.c [new file with mode: 0644]
gcc/tree-ssa-propagate.c