From e36f6190a959d0a301c136401ad830413c849eff Mon Sep 17 00:00:00 2001 From: Krister Walfridsson Date: Sat, 17 Jul 2004 01:55:04 +0200 Subject: [PATCH] * tree-inline.c (estimate_num_insns_1): Correct increase of count. From-SVN: r84844 --- gcc/ChangeLog | 4 ++++ gcc/tree-inline.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.30.2