PR testsuite/52641
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-dce-8.c
blob689eb99c28937aeb11f619966c50d54850df6a27
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-optimized" } */
4 int main()
6 int *p = __builtin_malloc (4);
7 *p = 4;
8 return 0;
11 /* { dg-final { scan-tree-dump-not "malloc" "optimized" } } */
12 /* { dg-final { cleanup-tree-dump "optimized" } } */