From: Jan Hubicka Date: Sat, 23 Jun 2001 08:22:52 +0000 (+0200) Subject: * flow.c (attempt_auto_inc, try_pre_increment_1): Fix typo. X-Git-Tag: prereleases/libstdc++-3.0.95~3645 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bc04d12c309d59314c19ecb7e103fc50852c793c;p=thirdparty%2Fgcc.git * flow.c (attempt_auto_inc, try_pre_increment_1): Fix typo. From-SVN: r43527 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8afeccb90046..29d192748d80 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Sat Jun 23 10:20:03 CEST 2001 Jan Hubicka + + * flow.c (attempt_auto_inc, try_pre_increment_1): Fix typo. + Sat Jun 23 01:23:59 CEST 2001 Jan Hubicka * flow.c (mark_set_1, attempt_auto_inc, mark_used_reg, diff --git a/gcc/flow.c b/gcc/flow.c index 2db6d20c000b..ec3d63cfc71f 100644 --- a/gcc/flow.c +++ b/gcc/flow.c @@ -5526,7 +5526,7 @@ attempt_auto_inc (pbi, inc, insn, mem, incr, incr_reg) /* Count an extra reference to the reg. When a reg is incremented, spilling it is worse, so we want to make that less likely. */ - REG_FREQ (regno) += (optimize_size || !phi->bb->frequency + REG_FREQ (regno) += (optimize_size || !pbi->bb->frequency ? 1 : pbi->bb->frequency); /* Count the increment as a setting of the register, @@ -6115,7 +6115,7 @@ try_pre_increment_1 (pbi, insn) so we want to make that less likely. */ if (regno >= FIRST_PSEUDO_REGISTER) { - REG_FREQ (regno) += (optimize_size || !phi->bb->frequency + REG_FREQ (regno) += (optimize_size || !pbi->bb->frequency ? 1 : pbi->bb->frequency); REG_N_SETS (regno)++; }