modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/991214-2.c (about)

     1  /* { dg-add-options stack_size } */
     2  
     3  #if defined(STACK_SIZE) && (STACK_SIZE < 65536)
     4  # define HISTO_SIZE 9
     5  #else
     6  # define HISTO_SIZE 36
     7  #endif
     8  
     9  extern int N;
    10  extern int nrows;
    11  extern int or_num_angles;
    12  
    13  typedef struct
    14  {
    15    double value;
    16    int count;
    17  }Histo;
    18  
    19  Histo add_histo[10][2][HISTO_SIZE][HISTO_SIZE];
    20  
    21  void cmd_connection_statistics( )
    22  {
    23    int i,j,k,m;
    24  
    25    for(i=0; i<nrows; i++){
    26        for(j=0; j< 2; j++)
    27  	for(k=0; k< or_num_angles; k++)
    28  	;
    29    }
    30  }