------- Comment #12 from jakub at gcc dot gnu dot org 2009-02-06 10:54 ------- Seems that 2008-08-29 patch effect on this testcase is that __builtin_expect is removed later and it apparently isn't considered as zero cost. This is strange, as gimple_reg = gimple_reg2 is considered to have 0 cost. I think __builtin_expect shouldn't count the cost of the second argument and for the first argument if lhs of the call is_gimple_reg and so is the first call argument, it should also return 0 cost.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39086