r194550 - in /branches/cilkplus/gcc: c-family/C...

bviyer@gcc.gnu.org bviyer@gcc.gnu.org
Mon Dec 17 06:08:00 GMT 2012


Author: bviyer
Date: Mon Dec 17 06:08:16 2012
New Revision: 194550

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194550
Log:
Fixed the pointer iterator issue in Cilk_for.

gcc/c-family/ChangeLog.cilkplus
+2012-12-17  Balaji V. Iyer  <balaji.v.iyer@intel.com>
+
+       * c-cilk.c (compute_loop_var): Added a check for integral type of loop
+       var and set the count type accordingly.  Removed all occurances of
+       checking the pointer type.
+       (build_cilk_for_body): Likewise.
+       (declare_cilk_for_vars): Changed the generic name form new iteration
+       var. and inherited it from the existing one.
+

gcc/testsuite/ChangeLog.cilkplus
+2012-12-17  Balaji V. Iyer  <balaji.v.iyer@intel.com>
+
+       * gcc.dg/cilk-plus/cilk_keywords_test/execute/cilk_for_ptr_iter.c:
+       New test.
+


Added:
    branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/cilk_keywords_test/execute/cilk_for_ptr_iter.c
Modified:
    branches/cilkplus/gcc/c-family/ChangeLog.cilkplus
    branches/cilkplus/gcc/c-family/c-cilk.c
    branches/cilkplus/gcc/testsuite/ChangeLog.cilkplus



More information about the Gcc-cvs mailing list