From 02a5eac4833861df9a1ce8721dc9a7d0b3de26d6 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Mon, 12 Jun 2006 19:57:44 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/gimplify.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) 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; -- 2.30.2