+2013-06-16 Balaji V.
authorBalaji V. Iyer <balaji.v.iyer@intel.com>
Mon, 17 Jun 2013 01:29:52 +0000 (01:29 +0000)
committerBalaji V. Iyer <bviyer@gcc.gnu.org>
Mon, 17 Jun 2013 01:29:52 +0000 (18:29 -0700)
+2013-06-16  Balaji V. Iyer  <balaji.v.iyer@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.
+

From-SVN: r200146

gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/cilk-plus/AN/if_test.c

index da5bb5b16c2a1b764d2449b5c0ae820103d708dd..de77b77d2420eec2921a507c6e5b335ab279526e 100644 (file)
@@ -1,3 +1,8 @@
+2013-06-16  Balaji V. Iyer  <balaji.v.iyer@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.
+
 2013-06-16  Joern Rennecke <joern.rennecke@embecosm.com>
 
        PR rtl-optimization/57425
index 5544d4550aa8f4a08fc9d79003fec18a8e13fdc8..4e5b1583778c9c1829b8a9a93f8309321692765a 100644 (file)
@@ -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;