libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-thread-20.c
blobc6529659021c228d09002479ba025760521b3760
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-ethread-stats" } */
4 struct S { int base; };
5 void foo (struct S *p)
7 if (p)
9 int *q = &p->base;
10 if (q)
11 __builtin_puts ("x");
15 /* { dg-final { scan-tree-dump "Jumps threaded: 1" "ethread" } } */