This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/60586] [Cilk+] Parameters evaluation happens inside spawn worker
- From: "ryxi at stu dot xidian.edu.cn" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 17 Mar 2017 08:54:11 +0000
- Subject: [Bug middle-end/60586] [Cilk+] Parameters evaluation happens inside spawn worker
- Auto-submitted: auto-generated
- References: <bug-60586-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60586
Xi Ruoyao <ryxi at stu dot xidian.edu.cn> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ryxi at stu dot xidian.edu.cn
--- Comment #4 from Xi Ruoyao <ryxi at stu dot xidian.edu.cn> ---
According to Intel cilkplus spec
<https://www.cilkplus.org/sites/default/files/open_specifications/Intel_Cilk_plus_lang_spec_1.2.htm>
the parameter SHOULD be evaluated inside spawn worker.
See section 3.6 bullet [4]-[9].
Balaji's commit caused PR80038. However without this commit, PR80038's
test case just ICE. More analysis required.