AVR: target/115419 - Tie breaks are rounded-to-even.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr19831-2.c
blobdf4120da5828b2d4a25edd26f2f92bf685660fbd
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-optimized" } */
4 void test1(void)
6 int *p = __builtin_malloc (sizeof (int) * 4);
7 *p++ = 4;
8 __builtin_free (p); // { dg-warning "\\\[-Wfree-nonheap-object" }
11 /* Undefined. We can't do anything here. */
13 /* { dg-final { scan-tree-dump-times "free" 1 "optimized" } } */
14 /* { dg-final { scan-tree-dump-times "malloc" 1 "optimized" } } */