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
This commit is contained in:
Jeff Law 2017-05-02 09:39:02 -06:00
parent 4e8bfd7913
commit 27c72a9bfd
2 changed files with 10 additions and 4 deletions

View file

@ -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.

View file

@ -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