+2013-06-25 Balaji V.
+2013-06-25 Balaji V. Iyer <balaji.v.iyer@intel.com> + + * c-c++-common/cilk-plus/AN/gather_scatter.c: Fixed a bug of stack + overflow due to size of arrays. + From-SVN: r200414
This commit is contained in:
parent
3ed8a9cd21
commit
af4c64a70e
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
2013-06-25 Balaji V. Iyer <balaji.v.iyer@intel.com>
|
||||
|
||||
PR c/57692
|
||||
* c-c++-common/cilk-plus/AN/gather_scatter.c: Fixed a bug of stack
|
||||
overflow due to size of arrays.
|
||||
|
||||
2013-06-25 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR tree-optimization/57705
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
/* { dg-do run } */
|
||||
/* { dg-options "-fcilkplus" } */
|
||||
|
||||
#define NUMBER 100
|
||||
#define NUMBER 20
|
||||
#if HAVE_IO
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
float array4[NUMBER][NUMBER][NUMBER][NUMBER];
|
||||
int main(void)
|
||||
{
|
||||
int array[NUMBER][NUMBER], array2[NUMBER], array3[NUMBER], x = 0, y;
|
||||
int x_correct, y_correct, ii, jj = 0;
|
||||
float array4[NUMBER][NUMBER][NUMBER][NUMBER];
|
||||
int x_correct, y_correct, ii, jj = 0, kk = 0, ll = 0;
|
||||
for (ii = 0; ii < NUMBER; ii++)
|
||||
{
|
||||
for (jj = 0; jj < NUMBER; jj++)
|
||||
|
|
Loading…
Add table
Reference in a new issue