(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
torture/
pr67222.c
       1  /* PR middle-end/67222 - ICE in gimple_call_arg with bogus posix_memalign */
       2  /* { dg-do compile } */
       3  
       4  void
       5  foo (void **p)
       6  {
       7    posix_memalign (); /* { dg-warning "implicit declaration" } */
       8    posix_memalign (p);
       9    posix_memalign (0);
      10    posix_memalign (p, 1);
      11    posix_memalign (p, "foo");
      12    posix_memalign ("gnu", "gcc");
      13    posix_memalign (1, p);
      14    posix_memalign (1, 2);
      15    posix_memalign (1, 2, 3);
      16    posix_memalign (p, p, p);
      17    posix_memalign (p, "qui", 3);
      18    posix_memalign (p, 1, 2);
      19  }
      20  
      21  /* Prune warnings:
      22    { dg-prune-output "call to built-in function declared without prototype" }
      23    { dg-prune-output "too few arguments to built-in function" }
      24    { dg-prune-output "incompatible pointer type" }
      25    { dg-prune-output "\\\[-Wint-conversion]" }  */