This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[lto] PATCH: missing CALL_EXPR abstraction in gimplify.c
- From: Sandra Loosemore <sandra at codesourcery dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 08 Aug 2006 18:40:19 -0400
- Subject: [lto] PATCH: missing CALL_EXPR abstraction in gimplify.c
Oops. I've found I missed a few places in my previous work in converting
CALL_EXPR accesses to use the new abstract accessors. I already committed this
one as "obvious".
-Sandra
2006-08-08 Sandra Loosemore <sandra@codesourcery.com>
* gcc/gimplify.c (gimplify_call_expr): Use CALL_EXPR_FN.
Index: gcc/gimplify.c
===================================================================
*** gcc/gimplify.c (revision 115997)
--- gcc/gimplify.c (working copy)
*************** gimplify_call_expr (tree *expr_p, tree *
*** 2020,2026 ****
/* There is a sequence point before the call, so any side effects in
the calling expression must occur before the actual call. Force
gimplify_expr to use an internal post queue. */
! ret = gimplify_expr (&TREE_OPERAND (*expr_p, 0), pre_p, NULL,
is_gimple_call_addr, fb_rvalue);
nargs = call_expr_nargs (*expr_p);
--- 2020,2026 ----
/* There is a sequence point before the call, so any side effects in
the calling expression must occur before the actual call. Force
gimplify_expr to use an internal post queue. */
! ret = gimplify_expr (&CALL_EXPR_FN (*expr_p), pre_p, NULL,
is_gimple_call_addr, fb_rvalue);
nargs = call_expr_nargs (*expr_p);