Message ID | BF230D13CA30DD48930C31D40993300016D7F626@FMSMSX102.amr.corp.intel.com |
---|---|
State | New |
Headers | show |
"Iyer, Balaji V" <balaji.v.iyer@intel.com> writes: > 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? Yes, you mentioned this was to silence a warning so the test would pass. OK. Thanks.
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++)