aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree-inline.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index cbfafbd..9ac9261 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2010-12-21 Jan Hubicka <jh@suse.cz>
+
+ PR middle-end/47000
+ * tree-inline.c (estimate_operator_cost): Handle VIEW_CONVERT_EXPR.
+
2010-12-21 Jie Zhang <jie@codesourcery.com>
* config/arm/arm-ldmstm.ml: Fix a typo in comment.
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
index def733f..8725ca4 100644
--- a/gcc/tree-inline.c
+++ b/gcc/tree-inline.c
@@ -3281,6 +3281,7 @@ estimate_operator_cost (enum tree_code code, eni_weights *weights,
CASE_CONVERT:
case COMPLEX_EXPR:
case PAREN_EXPR:
+ case VIEW_CONVERT_EXPR:
return 0;
/* Assign cost of 1 to usual operations.