This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/60586] [Cilk+] Parameters evaluation happens inside spawn worker


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]