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]

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


Author: hjl
Date: Sat Sep 10 00:08:42 2011
New Revision: 178741

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178741
Log:
Fix Template type inside cilk_for.

gcc/

2011-09-09  Balaji V. Iyer  <balaji.v.iyer@intel.com>

	* tree.c (walk_tree_1): Handled the "cilk_for" case.
	* tree.h (CILK_FOR_VAR): Use 5 instead of 4 as TREE_OPERAND
	argument.

gcc/cp/

2011-09-08  Balaji V. Iyer  <balaji.v.iyer@intel.com>

	* cp-tree.h (FOR_SCOPE): Changed FOR_STMT_CHECK to
	FOR_STMT_CHECK2.
	* cilk.c (check_incr): Added a check for variable entity name
	match, not just var.  Removed the assert to check if 1st
	operand is the variable.
	(cp_extract_for_fields): Likewise.

gcc/testsuite/

2011-09-09  Balaji V. Iyer  <balaji.v.iyer@intel.com>

	* g++.dg/cilk-plus/template_cilk_for_plus_equal.cpp: New.

Added:
    branches/cilkplus/gcc/testsuite/g++.dg/cilk-plus/template_cilk_for_plus_equal.cpp
Modified:
    branches/cilkplus/gcc/ChangeLog.cilk
    branches/cilkplus/gcc/cp/ChangeLog.cilk
    branches/cilkplus/gcc/cp/cilk.c
    branches/cilkplus/gcc/cp/cp-tree.h
    branches/cilkplus/gcc/testsuite/ChangeLog.cilk
    branches/cilkplus/gcc/tree.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]