[Bug c++/69048] [cilkplus] bug when spawning a function that returns a type with a destructor
law at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 14 22:23:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69048
--- Comment #1 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Thu Jan 14 22:23:09 2016
New Revision: 232393
URL: https://gcc.gnu.org/viewcvs?rev=232393&root=gcc&view=rev
Log:
[cilkplus] Fix cilk_spawn gimplification bug (PR cilkplus/69048)
PR c++/69048
* cilk.c (create_cilk_wrapper_body): Call fold_build_cleanup_point_expr
to add missing cleanup point.
PR c++/69048
* g++.dg/cilk-plus/CK/pr69048.cc: New test.
Added:
trunk/gcc/testsuite/g++.dg/cilk-plus/CK/pr69048.cc
Modified:
trunk/gcc/c-family/ChangeLog
trunk/gcc/c-family/cilk.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list