1  /* PR tree-optimization/93683 - ICE on calloc with unused return value
       2     in ao_ref_init_from_ptr_and_size
       3     { dg-do compile }
       4     { dg-options "-O2 -Wall -Wno-unused-result -fdump-tree-cddce1" } */
       5  
       6  void f0 (int *a)
       7  {
       8    *a = 0;
       9    __builtin_calloc (1, 1);
      10  }
      11  
      12  void f1 (int *a, unsigned n)
      13  {
      14    *a = n;
      15    __builtin_calloc (n, n);
      16  }
      17  
      18  /* { dg-final { scan-tree-dump-not "calloc" "cddce1" } } */