diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c4b463e1651..59b9e4fc5c5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-06-12 Eric Botcazou + + * gimplify.c (gimplify_expr): Treat VIEW_CONVERT_EXPR like other + lvalues in the fb_none case with side-effects. + 2006-06-12 Kazu Hirata * tree-flow.h: Remove the prototype for diff --git a/gcc/gimplify.c b/gcc/gimplify.c index fe18bc19234..17fc560fd30 100644 --- a/gcc/gimplify.c +++ b/gcc/gimplify.c @@ -5718,7 +5718,9 @@ gimplify_expr (tree *expr_p, tree *pre_p, tree *post_p, switch (code) { case COMPONENT_REF: - case REALPART_EXPR: case IMAGPART_EXPR: + case REALPART_EXPR: + case IMAGPART_EXPR: + case VIEW_CONVERT_EXPR: gimplify_expr (&TREE_OPERAND (*expr_p, 0), pre_p, post_p, gimple_test_f, fallback); break;