This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r197532 - in /branches/cilkplus/gcc: ChangeLog....
- From: bviyer at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 05 Apr 2013 18:23:34 -0000
- Subject: r197532 - in /branches/cilkplus/gcc: ChangeLog....
Author: bviyer
Date: Fri Apr 5 18:23:34 2013
New Revision: 197532
URL: http://gcc.gnu.org/viewcvs?rev=197532&root=gcc&view=rev
Log:
Renamed testsuite scripts, fixed some exec-once rule bugs and array refs
inside ARRAY NOTATIONS.
gcc/Changelog.cilkplus
+2013-04-05 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * c/c-array-notation.c (build_array_notation_expr): Added support to
+ follow execute-once rule for triplets.
+ (fix_conditional_array_notations_1): Likewise.
+ (fix_array_notation_call_expr): Likewise.
+ (build_array_notation_expr): Made checking for invariant expressions
+ in RHS of an array notation non-conditional.
gcc/testsuite/ChangeLog.cilkplus
+2013-04-05 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * gcc.dg/cilk-plus/cilk_keywords_test/execute/execute.exp: Added unique
+ prefix to the script to allow multithreaded check.
+ * gcc.dg/cilk-plus/cilk_keywords_test/errors/errors.exp: Likewise.
+ * gcc.dg/cilk-plus/cilk_keywords_test/compile/compile.exp: Likewise.
+ * gcc.dg/cilk-plus/pragma_simd_tests/compile/compile.exp: Likewise
+ * gcc.dg/cilk-plus/pragma_simd_tests/execute/execute.exp: Likewise.
+ * gcc.dg/cilk-plus/elem_fn_tests/elem_fn.exp: Likewise.
+ * gcc.dg/cilk-plus/array_notation_tests/execute/execute.exp: Likewise.
+ * gcc.dg/cilk-plus/array_notation_tests/compile/compile.exp: Likewise.
+ * gcc.dg/cilk-plus/array_notation_tests/errors/errors.exp: Likewise.
+ * g++.dg/cilk-plus/cilk_keywords_test/execute/c++11-tests/execute.exp:
+ Likewise.
+ * g++.dg/cilk-plus/cilk_keywords_test/errors/errors.exp: Likewise.
+ * g++.dg/cilk-plus/cilk_keywords_test/compile/compile.exp: Likewise.
+ * g++.dg/cilk-plus/cilk_keywords_test/execute/execute.exp: Likewise.
+ * g++.dg/cilk-plus/array_notation_tests/execute/execute.exp: Likewise.
+ * g++.dg/cilk-plus/array_notation_tests/compile/compile.exp: Likewise.
+ * g++.dg/cilk-plus/array_notation_tests/errors/errors.exp: Likewise.
+ * g++.dg/cilk-plus/array_notations_tests/execute/nd_array_access.cc:
+ New test.
+ * gcc.dg/cilk-plus/array_notation_tests/execute/exec-once2.c: Likewise.
+ * gcc.dg/cilk-plus/array_notation_tests/execute/exec-once3.c: Likewise.
+ * g++.dg/cilk-plus/array_notation_tests/execute/exec-1-0rank.cc:
+ Likewise.
+
gcc/cp/ChangeLog.cilkplus
+2013-04-05 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * cp-array-notation.c (build_x_array_notation_expr): Made checking for
+ invariant expression inn RHS of an array notation non-conditional.
+ Also, extracted tripets of array notations to follow the execute once
+ rule. Finally, added support to allow array_refs in between array
+ notations.
+ (find_rank): Changed a for-loop to a while loop to accomodate array ref
+ between array notation exprs.
+
Added:
branches/cilkplus/gcc/testsuite/g++.dg/cilk-plus/array_notation_tests/compile/cilkplus_AN_cpp_compile.exp
branches/cilkplus/gcc/testsuite/g++.dg/cilk-plus/array_notation_tests/execute/cilkplus_AN_cpp_execute.exp
branches/cilkplus/gcc/testsuite/g++.dg/cilk-plus/array_notation_tests/execute/exec-1-0rank.cc
branches/cilkplus/gcc/testsuite/g++.dg/cilk-plus/array_notation_tests/execute/nd_array_access.cc
branches/cilkplus/gcc/testsuite/g++.dg/cilk-plus/cilk_keywords_test/compile/cilkplus_CK_cpp_compile.exp
- copied unchanged from r197307, branches/cilkplus/gcc/testsuite/g++.dg/cilk-plus/cilk_keywords_test/compile/compile.exp
branches/cilkplus/gcc/testsuite/g++.dg/cilk-plus/cilk_keywords_test/execute/c++11-tests/cilkplus_CK_cpp_11_execute.exp
- copied unchanged from r197307, branches/cilkplus/gcc/testsuite/g++.dg/cilk-plus/cilk_keywords_test/execute/c++11-tests/execute.exp
branches/cilkplus/gcc/testsuite/g++.dg/cilk-plus/cilk_keywords_test/execute/cilkplus_CK_cpp_execute.exp
- copied unchanged from r197307, branches/cilkplus/gcc/testsuite/g++.dg/cilk-plus/cilk_keywords_test/execute/execute.exp
branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/array_notation_tests/compile/cilkplus_AN_c_compile.exp
- copied unchanged from r197307, branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/array_notation_tests/compile/compile.exp
branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/array_notation_tests/errors/cilkplus_AN_c_errors.exp
- copied unchanged from r197307, branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/array_notation_tests/errors/errors.exp
branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/array_notation_tests/execute/cilkplus_AN_c_execute.exp
- copied unchanged from r197307, branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/array_notation_tests/execute/execute.exp
branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/array_notation_tests/execute/exec-once2.c
branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/array_notation_tests/execute/exec-once3.c
branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/cilk_keywords_test/compile/cilkplus_CK_c_compile.exp
- copied unchanged from r197307, branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/cilk_keywords_test/compile/compile.exp
branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/cilk_keywords_test/errors/cilkplus_CK_c_errors.exp
- copied unchanged from r197307, branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/cilk_keywords_test/errors/errors.exp
branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/cilk_keywords_test/execute/cilkplus_CK_c_execute.exp
- copied unchanged from r197307, branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/cilk_keywords_test/execute/execute.exp
branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/elem_fn_tests/c_elem_fn.exp
- copied unchanged from r197307, branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/elem_fn_tests/elem_fn.exp
branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/pragma_simd_tests/compile/cilkplus_PS_c_compile.exp
- copied unchanged from r197307, branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/pragma_simd_tests/compile/compile.exp
branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/pragma_simd_tests/execute/cilkplus_PS_c_execute.exp
- copied unchanged from r197307, branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/pragma_simd_tests/execute/execute.exp
Removed:
branches/cilkplus/gcc/testsuite/g++.dg/cilk-plus/array_notation_tests/compile/compile.exp
branches/cilkplus/gcc/testsuite/g++.dg/cilk-plus/array_notation_tests/execute/execute.exp
branches/cilkplus/gcc/testsuite/g++.dg/cilk-plus/cilk_keywords_test/compile/compile.exp
branches/cilkplus/gcc/testsuite/g++.dg/cilk-plus/cilk_keywords_test/execute/c++11-tests/execute.exp
branches/cilkplus/gcc/testsuite/g++.dg/cilk-plus/cilk_keywords_test/execute/execute.exp
branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/array_notation_tests/compile/compile.exp
branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/array_notation_tests/errors/errors.exp
branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/array_notation_tests/execute/execute.exp
branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/cilk_keywords_test/compile/compile.exp
branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/cilk_keywords_test/errors/errors.exp
branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/cilk_keywords_test/execute/execute.exp
branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/elem_fn_tests/elem_fn.exp
branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/pragma_simd_tests/compile/compile.exp
branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/pragma_simd_tests/execute/execute.exp
Modified:
branches/cilkplus/gcc/ChangeLog.cilkplus
branches/cilkplus/gcc/c/c-array-notation.c
branches/cilkplus/gcc/cp/ChangeLog.cilkplus
branches/cilkplus/gcc/cp/cp-array-notation.c
branches/cilkplus/gcc/testsuite/ChangeLog.cilkplus