summaryrefslogtreecommitdiff
path: root/gcc/cilk-common.c
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-23 16:44:02 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-23 16:44:02 +0000
commit5cffb4b1440504d17cc470dcc377fa664cdda0c4 (patch)
treee8dd7550d1b9d49164a1445ecd49e33d7677904a /gcc/cilk-common.c
parent80945b46eab860f88dd1abc6913e7fe2af31936c (diff)
downloadgcc-5cffb4b1440504d17cc470dcc377fa664cdda0c4.tar.gz
* cilk-common.c (expand_builtin_cilk_detach): Dereference worker.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205313 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cilk-common.c')
-rw-r--r--gcc/cilk-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cilk-common.c b/gcc/cilk-common.c
index 54096676343..52b37852273 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)