1 /* PR tree-optimization/92879 - incorrect warning of __builtin_memset
2 offset is out of the bounds on zero-size allocation and initialization
4 { dg-options "-O2 -Wall -fdump-tree-optimized" } */
6 inline void* operator new (__SIZE_TYPE__, void * v)
19 p = (int*) new unsigned char [sizeof (int) * m];
21 for (int i = 0; i < m; i++)
28 /* Verify the loop has been eliminated.
29 { dg-final { scan-tree-dump-not "goto" "optimized" } } */