aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimplify.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2006-06-12 19:57:44 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2006-06-12 19:57:44 +0000
commit02a5eac4833861df9a1ce8721dc9a7d0b3de26d6 (patch)
tree2b77c7a8779740efa3b69e56019607e642fc2067 /gcc/gimplify.c
parentf0b99d6cbdd4809189775194446a6a7093b7162c (diff)
downloadgcc-02a5eac4833861df9a1ce8721dc9a7d0b3de26d6.zip
gcc-02a5eac4833861df9a1ce8721dc9a7d0b3de26d6.tar.gz
gcc-02a5eac4833861df9a1ce8721dc9a7d0b3de26d6.tar.bz2
gimplify.c (gimplify_expr): Treat VIEW_CONVERT_EXPR like other lvalues in the fb_none case with side-effects.
* gimplify.c (gimplify_expr): Treat VIEW_CONVERT_EXPR like other lvalues in the fb_none case with side-effects. From-SVN: r114576
Diffstat (limited to 'gcc/gimplify.c')
-rw-r--r--gcc/gimplify.c4
1 files changed, 3 insertions, 1 deletions
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;