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 c++/53672] gcc/branches/cilkplus does not like C++ spawn (when optimized)


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


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