libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-dse-39.c
blobbd663f1a14c5117deb0ae617745aa3557f0584fb
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" } */
6 void f0 (int *a)
8 *a = 0;
9 __builtin_calloc (1, 1);
12 void f1 (int *a, unsigned n)
14 *a = n;
15 __builtin_calloc (n, n);
18 /* { dg-final { scan-tree-dump-not "calloc" "cddce1" } } */