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

     1  /* { dg-add-options stack_size } */
     2  
     3  #ifdef STACK_SIZE
     4  #define SIZE STACK_SIZE / 8
     5  #else
     6  #define SIZE 10000000
     7  #endif
     8  
     9  struct foo
    10  {
    11    int a, b, c;
    12    int arr[SIZE];
    13  };
    14  
    15  struct foo s, ss;
    16  
    17  main ()
    18  {
    19  
    20    s.b = 2;
    21    s.c = 3;
    22    ss.b = 2;
    23    ss.c = 3;
    24  }