Handle copy cycles in pass_cprop_hardreg
authorTom de Vries <tom@codesourcery.com>
Fri, 17 Oct 2014 06:36:35 +0000 (06:36 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Fri, 17 Oct 2014 06:36:35 +0000 (06:36 +0000)
commit8c8fe66309a90e2fffd1515650321ca934857357
treed324360c0d59e9d4b01b8bc75b244c5f1e5d7307
parent5dad161975e0e5362ecb554e08d4a94a2c4b3922
Handle copy cycles in pass_cprop_hardreg

2014-10-17  Tom de Vries  <tom@codesourcery.com>

PR rtl-optimization/61605
* regcprop.c (copyprop_hardreg_forward_1): Add copy_p and noop_p.  Don't
notice stores for noops.  Don't regard noops as copies.

From-SVN: r216364
gcc/ChangeLog
gcc/regcprop.c