From: Krister Walfridsson Date: Fri, 16 Jul 2004 23:55:04 +0000 (+0200) Subject: * tree-inline.c (estimate_num_insns_1): Correct increase of count. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e36f6190a959d0a301c136401ad830413c849eff;p=gcc.git * tree-inline.c (estimate_num_insns_1): Correct increase of count. From-SVN: r84844 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 34dfd963b07..f72d12222b6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-07-16 Krister Walfridsson + + * tree-inline.c (estimate_num_insns_1): Correct increase of count. + 2004-07-16 Richard Henderson * builtins.c (std_expand_builtin_va_arg): Remove. diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index edd5faece95..66ed1317459 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -1364,7 +1364,7 @@ estimate_num_insns_1 (tree *tp, int *walk_subtrees, void *data) case ASM_EXPR: case RESX_EXPR: - *count++; + *count += 1; break; /* Few special cases of expensive operations. This is useful