[Bug c++/80038] Random segfault using local vectors in Cilk function [Regression 6/7]
ryxi at stu dot xidian.edu.cn
gcc-bugzilla@gcc.gnu.org
Thu Mar 16 12:03:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80038
--- Comment #18 from Xi Ruoyao <ryxi at stu dot xidian.edu.cn> ---
> Compile with '-fcilkplus -S'. According to cilkplus spec, x() should be
> evaluated in the child (for the asm produced by GCC, in _cilk_spn_0).
> If you find "call x" in the asm of "z" instead of "_cilk_spn_0", that version
> of GCC is buggy.
Note that some version of GCC put "call _cilk_enter_frame_1" in "z", before
calling "x". They are good.
More information about the Gcc-bugs
mailing list