gcc-patches@gcc.gnu.org
[Top] [All Lists]

[lto] PATCH: missing CALL_EXPR abstraction in gimplify.c

Subject: [lto] PATCH: missing CALL_EXPR abstraction in gimplify.c
From: Sandra Loosemore
Date: Tue, 08 Aug 2006 18:40:19 -0400
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@xxxxxxxxxxxxxxxx>

        * 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);
<Prev in Thread] Current Thread [Next in Thread>
  • [lto] PATCH: missing CALL_EXPR abstraction in gimplify.c, Sandra Loosemore <=