gimplify.c (gimplify_expr): Treat VIEW_CONVERT_EXPR like other lvalues in the fb_none...
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 12 Jun 2006 19:57:44 +0000 (19:57 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 12 Jun 2006 19:57:44 +0000 (19:57 +0000)
* gimplify.c (gimplify_expr): Treat VIEW_CONVERT_EXPR like other
lvalues in the fb_none case with side-effects.

From-SVN: r114576

gcc/ChangeLog
gcc/gimplify.c

index c4b463e16515b28f0a11790b130e6dc69730e444..59b9e4fc5c5628eb5268d0844f268e84c6bba033 100644 (file)
@@ -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
index fe18bc19234073b86e72987804326018237c2f13..17fc560fd30e7d7d2efd651123b92def28e72d7b 100644 (file)
@@ -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;