This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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++)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]