diff options
author | Changpeng Fang <changpeng.fang@amd.com> | 2010-03-04 12:12:50 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2010-03-04 12:12:50 +0000 |
commit | 572ae4769aebdf9e2ca738674f698f2a4b3347cd (patch) | |
tree | ebedb017ebbb3aaafa250c0876b89feb978c51d9 /gcc/tree-ssa-pre.c | |
parent | f8723eb6ec75ec0b362c02f61578750e4fd49cc4 (diff) | |
download | gcc-572ae4769aebdf9e2ca738674f698f2a4b3347cd.zip gcc-572ae4769aebdf9e2ca738674f698f2a4b3347cd.tar.gz gcc-572ae4769aebdf9e2ca738674f698f2a4b3347cd.tar.bz2 |
Fix PR43209: Do not decrease the cost of an IV candidate when the cost is infinite.
2010-03-03 Changpeng Fang <changpeng.fang@amd.com>
PR middle-end/43209
* tree-ssa-loop-ivopts.c (determine_use_iv_cost_condition): Do not decrease
the cost of an IV candidate when the cost is infinite.
* gcc.dg/tree-ssa/ivopts-4.c: New.
From-SVN: r157217
Diffstat (limited to 'gcc/tree-ssa-pre.c')
0 files changed, 0 insertions, 0 deletions