------- Comment #9 from spop at gcc dot gnu dot org 2010-03-04 12:13 ------- Subject: Bug 43209
Author: spop Date: Thu Mar 4 12:12:50 2010 New Revision: 157217 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157217 Log: Fix PR43209: Do not decrease the cost of an IV candidate when the cost is infinite. 2010-03-03 Changpeng Fang <changpeng.f...@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. Added: trunk/gcc/testsuite/gcc.dg/tree-ssa/ivopts-4.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-loop-ivopts.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43209