(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
vect/
pr84419.c
       1  #include <string.h>
       2  
       3  #define SIZE 400
       4  
       5  int  foo[SIZE];
       6  char bar[SIZE];
       7  
       8  void __attribute__ ((noinline)) foo_func(void)
       9  {
      10    int i;
      11    for (i = 1; i < SIZE; i++)
      12      if (bar[i])
      13        foo[i] = 1;
      14  }
      15  
      16  int main()
      17  {
      18    memset(bar, 1, sizeof(bar));
      19    foo_func();
      20    return 0;
      21  }