gimplify.c (voidify_wrapper_expr): Allow TARGET_EXPR.
PR/16131 * gimplify.c (voidify_wrapper_expr): Allow TARGET_EXPR. From-SVN: r83633
This commit is contained in:
parent
aa4a53af51
commit
77db1f411d
2 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
2004-06-24 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
|
||||
|
||||
PR/16131
|
||||
* gimplify.c (voidify_wrapper_expr): Allow TARGET_EXPR.
|
||||
|
||||
* gimplify.c: Remove unneeded forward declarations.
|
||||
|
||||
* gimplify.c (append_to_compound_expr): Deleted.
|
||||
|
|
|
@ -828,7 +828,8 @@ voidify_wrapper_expr (tree wrapper, tree temp)
|
|||
goto restart;
|
||||
}
|
||||
/* The C++ frontend already did this for us. */
|
||||
else if (TREE_CODE (*p) == INIT_EXPR)
|
||||
else if (TREE_CODE (*p) == INIT_EXPR
|
||||
|| TREE_CODE (*p) == TARGET_EXPR)
|
||||
temp = TREE_OPERAND (*p, 0);
|
||||
/* If we're returning a dereference, move the dereference
|
||||
outside the wrapper. */
|
||||
|
|
Loading…
Add table
Reference in a new issue