Hello Everyone,
        I found a minor bug in one of the array notation test case. I 
accidentally put the minus for length instead of stride. I have committed this 
patch as obvious.

2013-06-16  Balaji V. Iyer  <balaji.v.i...@intel.com>

        * c-c++-common/cilk-plus/AN/if_test.c (main2): Fixed a bug of 
accidentally
        placing minus sign for length instead of stride.

diff --git a/gcc/testsuite/c-c++-common/cilk-plus/AN/if_test.c 
b/gcc/testsuite/c-c++-common/cilk-plus/AN/if_test.c
index 5544d45..4e5b158 100644
--- a/gcc/testsuite/c-c++-common/cilk-plus/AN/if_test.c
+++ b/gcc/testsuite/c-c++-common/cilk-plus/AN/if_test.c
@@ -269,7 +269,7 @@ int main2 (char **argv)

   /* atoi(argv[1]) == 10, so it will convert all 10's to 5's */
   if (FourDArray[0:10:1][0:5:2][9:10:-1][x:y:z] +
-      FourDArray[0:10:1][0:5:2][9:-10:1][x:y:z]  != 20)
+      FourDArray[0:10:1][0:5:2][9:10:-1][x:y:z]  != 20)
     array4[0:10:1][0:5:2][9:10:-1][x:y:z] = 10;
   else
     array4[0:10][0:5:2][9:10:-1][x:y:z] = 5;


Thanks,

Balaji V. Iyer.

Reply via email to