This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch][cilkplus-merge] Fix a bug in one of the test cases
- From: "Iyer, Balaji V" <balaji dot v dot iyer at intel dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 27 Mar 2013 15:32:33 +0000
- Subject: [patch][cilkplus-merge] Fix a bug in one of the test cases
Not sure if this went out or not...
> -----Original Message-----
> From: Iyer, Balaji V
> Sent: Wednesday, March 27, 2013 11:25 AM
> To: 'GCC Patches (gcc-patches@gcc.gnu.org)'
> Subject: [patch][cilkplus-merge] Fix a bug in one of the test cases
>
> Hello Everyone,
> This patch will fix a bug in one of the test cases. Is it OK for pushing?
>
> Thanks,4
>
> Balaji V. Iyer.
diff --git gcc/testsuite/gcc.dg/cilk-plus/array_notation/compile/array_test2.c gcc/testsuite/gcc.dg/cilk-plus/array_notation/compile/array_test2.c
index 5fb3680..fd128b1 100644
--- gcc/testsuite/gcc.dg/cilk-plus/array_notation/compile/array_test2.c
+++ gcc/testsuite/gcc.dg/cilk-plus/array_notation/compile/array_test2.c
@@ -26,7 +26,7 @@ int main(int argc, char **argv)
array[ii] = 10;
array2[ii] = 5000000;
}
- array2[0:10:2] = array[0:10:2];
+ array2[0:5:2] = array[0:5:2];
printf("==============================================\n");
for (ii = 0; ii<10; ii++)