tree-inline.c (estimate_num_insns_1): Treat CONVERT_EXPR the same as NOP_EXPR.
authorRichard Guenther <rguenther@suse.de>
Wed, 4 Jul 2007 16:21:39 +0000 (16:21 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 4 Jul 2007 16:21:39 +0000 (16:21 +0000)
2007-07-04  Richard Guenther  <rguenther@suse.de>

* tree-inline.c (estimate_num_insns_1): Treat CONVERT_EXPR
the same as NOP_EXPR.

From-SVN: r126325

gcc/ChangeLog
gcc/tree-inline.c

index cb8bc95..28c5a30 100644 (file)
@@ -1,3 +1,8 @@
+2007-07-04  Richard Guenther  <rguenther@suse.de>
+
+       * tree-inline.c (estimate_num_insns_1): Treat CONVERT_EXPR
+       the same as NOP_EXPR.
+
 2007-07-04  Nick Clifton  <nickc@redhat.com>
 
        * target.h (struct gcc_target): Add target_help field.
index 244b5b0..2a350cc 100644 (file)
@@ -1984,6 +1984,7 @@ estimate_num_insns_1 (tree *tp, int *walk_subtrees, void *data)
     case BIND_EXPR:
     case WITH_CLEANUP_EXPR:
     case NOP_EXPR:
+    case CONVERT_EXPR:
     case VIEW_CONVERT_EXPR:
     case SAVE_EXPR:
     case ADDR_EXPR:
@@ -2127,8 +2128,6 @@ estimate_num_insns_1 (tree *tp, int *walk_subtrees, void *data)
     case UNEQ_EXPR:
     case LTGT_EXPR:
 
-    case CONVERT_EXPR:
-
     case CONJ_EXPR:
 
     case PREDECREMENT_EXPR: