diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/gimplify.c | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c4b463e..59b9e4f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-06-12 Eric Botcazou <ebotcazou@adacore.com> + + * gimplify.c (gimplify_expr): Treat VIEW_CONVERT_EXPR like other + lvalues in the fb_none case with side-effects. + 2006-06-12 Kazu Hirata <kazu@codesourcery.com> * tree-flow.h: Remove the prototype for diff --git a/gcc/gimplify.c b/gcc/gimplify.c index fe18bc1..17fc560 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; |
