libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr97260.c
blob9b3723b7834b9f6878d2c87e85b0a4194b146c53
1 /* PR tree-optimization/97260 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 /* { dg-final { scan-tree-dump "return 0;" "optimized" } } */
6 int
7 foo (void)
9 const char a[] = "1234";
10 return __builtin_memcmp (a, "1234", 4);