This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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);

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]