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]

r188861 - in /branches/cilkplus/gcc: cp/ChangeL...


Author: bviyer
Date: Thu Jun 21 23:11:54 2012
New Revision: 188861

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188861
Log:
Added support of continue inside cilk_for in C++ compiler.

gcc/cp/Changelog.cilk
2012-06-20  Balaji V. Iyer  <balaji.v.iyer@intel.com>

	* cp-gimplify.c (cp_genericize_r): Added a check for cilk-for.
	(genericize_cilk_for_stmt): New function.
	* cilk.c (resolve_continue_stmts): Likewise.
	(cp_build_cilk_for_body): Added a new label to point goto for continue
	inside cilk_for.  Also did a walk_tree to fix up all these continues.
	(cg_hacks): called cp_genericize to breakup all the statements inside
	cilk-for nested function.

gcc/testsuite/ChangeLog.cilk
2012-06-20  Balaji V. Iyer  <balaji.v.iyer@intel.com>

	* g++.dg/cilk-plus/cilk_for_cont2_inside_for.cc: New test file.
	* g++.dg/cilk-plus/cilk_for_cont2_inside_for_tplt.cc: Likewise.
	* g++.dg/cilk-plus/cilk_for_cont_inside_for.cc: Likewise.
	* g++.dg/cilk-plus/cilk_for_cont_with_for.cc: Likewise.
	* g++.dg/cilk-plus/cilk_for_cont_with_if.cc: Likewise.
	* g++.dg/cilk-plus/cilk_for_cont_with_while.cc: Likewise.




Added:
    branches/cilkplus/gcc/testsuite/g++.dg/cilk-plus/cilk_for_cont2_inside_for.cc
    branches/cilkplus/gcc/testsuite/g++.dg/cilk-plus/cilk_for_cont2_inside_for_tplt.cc
    branches/cilkplus/gcc/testsuite/g++.dg/cilk-plus/cilk_for_cont_inside_for.cc
    branches/cilkplus/gcc/testsuite/g++.dg/cilk-plus/cilk_for_cont_with_for.cc
    branches/cilkplus/gcc/testsuite/g++.dg/cilk-plus/cilk_for_cont_with_if.cc
    branches/cilkplus/gcc/testsuite/g++.dg/cilk-plus/cilk_for_cont_with_while.cc
Modified:
    branches/cilkplus/gcc/cp/ChangeLog.cilk
    branches/cilkplus/gcc/cp/cilk.c
    branches/cilkplus/gcc/cp/cp-gimplify.c
    branches/cilkplus/gcc/testsuite/ChangeLog.cilk


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