summaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2007-07-04 16:21:39 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2007-07-04 16:21:39 +0000
commit5cda34b18aa246fd4214db0f96453a29a23a5482 (patch)
tree557339bc4b79b03cb55b40a33482c12ffd57e09d /gcc/tree-inline.c
parent3d22e0010905a640b406e915adccee7eac73ec3e (diff)
downloadgcc-5cda34b18aa246fd4214db0f96453a29a23a5482.tar.gz
tree-inline.c (estimate_num_insns_1): Treat CONVERT_EXPR the same as NOP_EXPR.
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
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r--gcc/tree-inline.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
index 244b5b07559..2a350cc75b5 100644
--- a/gcc/tree-inline.c
+++ b/gcc/tree-inline.c
@@ -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: