This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/53672] gcc/branches/cilkplus does not like C++ spawn (when optimized)
- From: "bviyer at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 18 Jun 2012 02:08:03 +0000
- Subject: [Bug c++/53672] gcc/branches/cilkplus does not like C++ spawn (when optimized)
- Auto-submitted: auto-generated
- References: <bug-53672-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53672
--- Comment #8 from bviyer at gcc dot gnu.org 2012-06-18 02:08:03 UTC ---
Author: bviyer
Date: Mon Jun 18 02:07:54 2012
New Revision: 188722
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188722
Log:
This patch should fix the 2nd case of PR 53672.
2012-06-17 Balaji V. Iyer <balaji.v.iyer@intel.com>
PR 53672
* dwarf2out.c (dwarf2out_abstract_function): Added a check for the
spawn helper.
(dwarf2out_function_decl): Added a check if CILK_FN_P is set when there
is no function struct.
* cilk.c (expand_builtin_cilk_metadata): Set the CILK_FN_P field to 1.
* cilk-spawn.c (cg-hacks): Likewise.
(gimplify_cilk_for_2): Likewise.
(gimplify_cilk_for): Likewise.
* tree.h (CILK_FN_P): Added new #define to access a base field of tree.
Modified:
branches/cilkplus/gcc/ChangeLog.cilk
branches/cilkplus/gcc/cilk-spawn.c
branches/cilkplus/gcc/cilk.c
branches/cilkplus/gcc/cp/ChangeLog.cilk
branches/cilkplus/gcc/cp/cilk.c
branches/cilkplus/gcc/dwarf2out.c
branches/cilkplus/gcc/tree.h