summaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-04 16:21:39 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-04 16:21:39 +0000
commit5d1f88800aabf4f38ab4bfcc83a87cb8aeb56ae0 (patch)
tree557339bc4b79b03cb55b40a33482c12ffd57e09d /gcc/tree-inline.c
parentcd82131fbdcb735fc563f8c208d0d707c095917b (diff)
downloadgcc-5d1f88800aabf4f38ab4bfcc83a87cb8aeb56ae0.tar.gz
2007-07-04 Richard Guenther <rguenther@suse.de>
* tree-inline.c (estimate_num_insns_1): Treat CONVERT_EXPR the same as NOP_EXPR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126325 138bc75d-0d04-0410-961f-82ee72b054a4
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: