From 27c72a9bfd75deb3921327e6069fb2b426a91fec Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 2 May 2017 09:39:02 -0600 Subject: [PATCH] tree.h (EXPR_CILK_SPAWN): Use macro TREE_CHECK2 instead of function tree_check2. 2017-05-02 Xi Ruoyao * tree.h (EXPR_CILK_SPAWN): Use macro TREE_CHECK2 instead of function tree_check2. From-SVN: r247508 --- gcc/ChangeLog | 10 ++++++++-- gcc/tree.h | 4 ++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b181765d076..07814eb6bb3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,14 +1,20 @@ +2017-05-02 Xi Ruoyao + + * tree.h (EXPR_CILK_SPAWN): Use macro TREE_CHECK2 instead of + function tree_check2. + + 2017-05-02 Martin Liska * doc/gcov.texi: Add missing preposition. * gcov.c (function_info::function_info): Properly fill up all member variables. -2017-04-26 Tamar Christina +2017-05-02 Tamar Christina * expr.c (expand_expr_real_2): Re-cost if previous costs are the same. -2017-04-27 Tamar Christina +2017-05-02 Tamar Christina * simplify-rtx.c (simplify_binary_operation_1): Add LSHIFTRT case. diff --git a/gcc/tree.h b/gcc/tree.h index 5d02dc7a7d4..776056d903d 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -897,8 +897,8 @@ extern void omp_clause_range_check_failed (const_tree, const char *, int, /* If this is true, we should insert a __cilk_detach call just before this function call. */ #define EXPR_CILK_SPAWN(NODE) \ - (tree_check2 (NODE, __FILE__, __LINE__, __FUNCTION__, \ - CALL_EXPR, AGGR_INIT_EXPR)->base.u.bits.unsigned_flag) + (TREE_CHECK2 (NODE, CALL_EXPR, \ + AGGR_INIT_EXPR)->base.u.bits.unsigned_flag) /* In a RESULT_DECL, PARM_DECL and VAR_DECL, means that it is passed by invisible reference (and the TREE_TYPE is a pointer to the true -- 2.30.2