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]

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


Author: bviyer
Date: Tue Jan 31 16:50:59 2012
New Revision: 183767

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183767
Log:
Gather Scatter Array Notation Support in C and C++

2012-01-31  Balaji V. Iyer  <balaji.v.iyer@intel.com>

	* c-array-notation.c (build_array_notation_expr): Added another
	dimension to lhs variables to handle gather scatter of array notations.

2012-01-31  Balaji V. Iyer  <balaji.v.iyer@intel.com>

	* cp-array-notation.c (build_x_array_notation_expr): Added another
	dimension to lhs parameters to handle scatter of array notations.  Also
	replaced all cases of build_int_cst with 0 or 1 with build_zero_cst and
	build_one_cst, respectively.
	(fix_conditional_array_notations_1): Replaced build_int_cst with 0 or 1
	with build_zero_cst and build_one_cst, respectively.
	(fix_builtin_array_notation_fn): Likewise.
	(fix_unary_array_notation_exprs): Likewise.

2012-01-31  Balaji V. Iyer  <balaji.v.iyer@intel.com>

	* gcc.dg/cilk-plus/array_notation_tests/gather_scatter.c: New.
	* g++.dg/cilk-plus/array_notation_tests/gather_scatter.cc: Likewise.



Added:
    branches/cilkplus/gcc/testsuite/g++.dg/cilk-plus/array_notation_tests/gather_scatter.cc
    branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/array_notation_tests/gather_scatter.c
Modified:
    branches/cilkplus/gcc/ChangeLog.cilk
    branches/cilkplus/gcc/c-array-notation.c
    branches/cilkplus/gcc/cp/ChangeLog.cilk
    branches/cilkplus/gcc/cp/cp-array-notation.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]