From 5cda34b18aa246fd4214db0f96453a29a23a5482 Mon Sep 17 00:00:00 2001 From: Richard Guenther <rguenther@suse.de> Date: Wed, 4 Jul 2007 16:21:39 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/tree-inline.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cb8bc9519fd1..28c5a3059ad3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index 244b5b075593..2a350cc75b58 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: -- GitLab