On 05/02/2017 01:56 AM, Xi Ruoyao wrote:
On 2017-05-02 09:16 +0200, Andreas Schwab wrote:
This could be related to --enable-checking=release:
In file included from ../../gcc/c-family/c-common.h:26:0,
from ../../gcc/c-family/cilk.c:28:
../../gcc/c-family/cilk.c: In function 'bool cilk_set_spawn_marker(location_t,
tree)':
../../gcc/tree.h:901:42: error: 'tree_check2' was not declared in this scope
CALL_EXPR, AGGR_INIT_EXPR)->base.u.bits.unsigned_flag)
^
../../gcc/c-family/cilk.c:113:9: note: in expansion of macro 'EXPR_CILK_SPAWN'
EXPR_CILK_SPAWN (fcall) = 1;
^
../../gcc/tree.h:901:42: error: 'tree_check2' was not declared in this scope
CALL_EXPR, AGGR_INIT_EXPR)->base.u.bits.unsigned_flag)
^
../../gcc/c-family/cilk.c:115:9: note: in expansion of macro 'EXPR_CILK_SPAWN'
EXPR_CILK_SPAWN (TREE_OPERAND (fcall, 1)) = 1;
^
Andreas.
Sorry T_T. I've made a stupid mistake in tree.h.
Let's apply following patch, and alert the RM when backporting r247446.
2017-05-02 Xi Ruoyao <r...@stu.xidian.edu.cn>
* tree.h (EXPR_CILK_SPAWN): Use macro TREE_CHECK2 instead of
function tree_check2.
THanks. Installed.
jeff