2 /* { dg-options "-O -fdump-tree-optimized" } */
4 extern void link_error (void);
7 int * f = (int*) __builtin_malloc (n * sizeof (int));
8 int * ff = (int*) __builtin_malloc (n * sizeof (int));
11 for (i = 0; i < n; ++i)
29 /* We should have removed the calls to link_error () and all stores
30 to the allocated memory. */
32 /* { dg-final { scan-tree-dump-times "\\\*D" 0 "optimized" } } */
33 /* { dg-final { cleanup-tree-dump "optimized" } } */