OSDN Git Service

2011-12-13 Martin Jambor <mjambor@suse.cz>
authorjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Dec 2011 15:43:36 +0000 (15:43 +0000)
committerjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Dec 2011 15:43:36 +0000 (15:43 +0000)
commitae56707d46b7ac4877d5be5e7086d2759c32bceb
tree670453af2b7524fe40540cabd07ebc53c4e144dc
parentf6d262cb3d1621a4376482ff3c08192568afe93a
2011-12-13  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/51362
* ipa-cp.c (estimate_local_effects): When estimated size of a
specialized clone is zero, bump it to one.

* testsuite/gcc.dg/ipa/pr51362.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182288 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ipa-cp.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/pr51362.c [new file with mode: 0644]