* tree-inline.c (estimate_num_insns_1): Correct increase of count.
authorKrister Walfridsson <cato@df.lth.se>
Fri, 16 Jul 2004 23:55:04 +0000 (01:55 +0200)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 16 Jul 2004 23:55:04 +0000 (16:55 -0700)
From-SVN: r84844

gcc/ChangeLog
gcc/tree-inline.c

index 34dfd963b07f1b05b7da4b71faddd5d4dd499a30..f72d12222b61715e948cc65ad19e2eb522fa5a13 100644 (file)
@@ -1,3 +1,7 @@
+2004-07-16  Krister Walfridsson  <cato@df.lth.se>
+
+       * tree-inline.c (estimate_num_insns_1): Correct increase of count.
+
 2004-07-16  Richard Henderson  <rth@redhat.com>
 
        * builtins.c (std_expand_builtin_va_arg): Remove.
index edd5faece9536bb45d535794b4b14089c897dd1e..66ed131745927b72a612e8ef33ef41b17d69fe64 100644 (file)
@@ -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