aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBalaji V. Iyer <balaji.v.iyer@intel.com>2013-06-17 01:29:52 +0000
committerBalaji V. Iyer <bviyer@gcc.gnu.org>2013-06-16 18:29:52 -0700
commit7e55aae9e3c253d58656022bb35850a9ed3afc98 (patch)
tree6d79d0b28d98905e672de0bfa2597f6565c9b84f
parent31eb8a1809d924cb50bd1057eb9cfa79f90b2b01 (diff)
downloadgcc-7e55aae9e3c253d58656022bb35850a9ed3afc98.zip
gcc-7e55aae9e3c253d58656022bb35850a9ed3afc98.tar.gz
gcc-7e55aae9e3c253d58656022bb35850a9ed3afc98.tar.bz2
+2013-06-16 Balaji V.
+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
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/c-c++-common/cilk-plus/AN/if_test.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index da5bb5b..de77b77 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
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;