From: Eric Botcazou Date: Sat, 23 Nov 2013 16:44:02 +0000 (+0000) Subject: * cilk-common.c (expand_builtin_cilk_detach): Dereference worker. X-Git-Tag: releases/gcc-4.9.0~2495 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7c42f52b7419ea5db30917cf39c15783e5aa2bf5;p=thirdparty%2Fgcc.git * cilk-common.c (expand_builtin_cilk_detach): Dereference worker. From-SVN: r205313 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fee3273a3004..74913c19e29d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2013-11-23 Eric Botcazou + + * cilk-common.c (expand_builtin_cilk_detach): Dereference worker. + 2013-11-23 David Edelson Andrew Dixie diff --git a/gcc/cilk-common.c b/gcc/cilk-common.c index 540966763439..52b378522730 100644 --- a/gcc/cilk-common.c +++ b/gcc/cilk-common.c @@ -328,7 +328,7 @@ expand_builtin_cilk_detach (tree exp) tree parent = cilk_dot (fptr, CILK_TI_FRAME_PARENT, 0); tree worker = cilk_dot (fptr, CILK_TI_FRAME_WORKER, 0); - tree tail = cilk_dot (worker, CILK_TI_WORKER_TAIL, 1); + tree tail = cilk_arrow (worker, CILK_TI_WORKER_TAIL, 1); rtx wreg = expand_expr (worker, NULL_RTX, Pmode, EXPAND_NORMAL); if (GET_CODE (wreg) != REG)