(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
i386/
pr80969-2.c
       1  /* { dg-do run { target { { ! x32 } && avx512f_runtime } } } */
       2  /* { dg-do compile { target { { ! x32 } && { ! avx512f_runtime } } } } */
       3  /* { dg-options "-Ofast -mabi=ms -mavx512f" } */
       4  /* { dg-require-effective-target avx512f } */
       5  
       6  /* Test when calling a sysv func.  */
       7  
       8  int a[56];
       9  int b;
      10  
      11  static void __attribute__((sysv_abi)) sysv ()
      12  {
      13  }
      14  
      15  void __attribute__((sysv_abi)) (*volatile const sysv_noinfo)() = sysv;
      16  
      17  int main (int argc, char *argv[]) {
      18    int c;
      19    sysv_noinfo ();
      20    for (; b; b++) {
      21      c = b;
      22      if (b & 1)
      23        c = 2;
      24      a[b] = c;
      25    }
      26    return 0;
      27  }