Commit 7c42f52b by Eric Botcazou Committed by Eric Botcazou

* cilk-common.c (expand_builtin_cilk_detach): Dereference worker.

From-SVN: r205313
parent a47c2f62
2013-11-23 Eric Botcazou <ebotcazou@adacore.com>
* cilk-common.c (expand_builtin_cilk_detach): Dereference worker.
2013-11-23 David Edelson <dje.gcc@gmail.com>
Andrew Dixie <andrewd@gentrack.com>
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment