This is the mail archive of the gcc-cvs@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]

r185492 - in /branches/cilkplus/gcc: ChangeLog....


Author: bviyer
Date: Sat Mar 17 22:09:55 2012
New Revision: 185492

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185492
Log:
Fixed a bug in Cilk_Spawn inside Templates.
2012-03-16  Balaji V. Iyer  <balaji.v.iyer@intel.com>

	* cilk-spawn.c (cilk_valid_spawn): Unwrapped the call_expr from expr
	and cleanup point statements.
	(gimplify_cilk_spawn): Likewise.
	* function.c (allocate_struct_function): Initialized calls_spawns
	correctly.
	* tree.h: Removed cilk_hyper_flag and replaced with cilk_has_spawn.
	Also added DECL_HAS_SPAWN_P and removed DECL_HYPER_LOOKUP_P.

2012-03-16  Balaji V. Iyer  <balaji.v.iyer@intel.com>

	* decl.c (finish_function_body): called DECL_HAS_SPAWN_P and set it to
	calls_spawns.
	* pt.c (tsubst_copy): Carried the spawn call information from one
	call expression to another.
	(tsubst_copy_and_build): Likewise.


Modified:
    branches/cilkplus/gcc/ChangeLog.cilk
    branches/cilkplus/gcc/cilk-spawn.c
    branches/cilkplus/gcc/cp/ChangeLog.cilk
    branches/cilkplus/gcc/cp/decl.c
    branches/cilkplus/gcc/cp/pt.c
    branches/cilkplus/gcc/function.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]