diff options
author | Jeff Law <law@gcc.gnu.org> | 2017-05-02 09:39:02 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2017-05-02 09:39:02 -0600 |
commit | 27c72a9bfd75deb3921327e6069fb2b426a91fec (patch) | |
tree | f9957ac428fc4d9dcf0a77ed023982581dc907d6 /gcc | |
parent | 4e8bfd79138bdd9003c2437db3fee9a5b5d06cec (diff) | |
download | gcc-27c72a9bfd75deb3921327e6069fb2b426a91fec.zip gcc-27c72a9bfd75deb3921327e6069fb2b426a91fec.tar.gz gcc-27c72a9bfd75deb3921327e6069fb2b426a91fec.tar.bz2 |
tree.h (EXPR_CILK_SPAWN): Use macro TREE_CHECK2 instead of function tree_check2.
2017-05-02 Xi Ruoyao <ryxi@stu.xidian.edu.cn>
* tree.h (EXPR_CILK_SPAWN): Use macro TREE_CHECK2 instead of
function tree_check2.
From-SVN: r247508
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 10 | ||||
-rw-r--r-- | gcc/tree.h | 4 |
2 files changed, 10 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b181765..07814eb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,14 +1,20 @@ +2017-05-02 Xi Ruoyao <ryxi@stu.xidian.edu.cn> + + * tree.h (EXPR_CILK_SPAWN): Use macro TREE_CHECK2 instead of + function tree_check2. + + 2017-05-02 Martin Liska <mliska@suse.cz> * doc/gcov.texi: Add missing preposition. * gcov.c (function_info::function_info): Properly fill up all member variables. -2017-04-26 Tamar Christina <tamar.christina@arm.com> +2017-05-02 Tamar Christina <tamar.christina@arm.com> * expr.c (expand_expr_real_2): Re-cost if previous costs are the same. -2017-04-27 Tamar Christina <tamar.christina@arm.com> +2017-05-02 Tamar Christina <tamar.christina@arm.com> * simplify-rtx.c (simplify_binary_operation_1): Add LSHIFTRT case. @@ -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 |