* tree-loop-distribution.c (INCLUDE_ALGORITHM): New header file.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-pre-18.c
blobea2a7aee56bf4601f8693cf64946dd9ddfb3a621
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-pre-details -fno-tree-loop-im" } */
4 struct Bar { int a; int b; };
5 struct Foo { int x; struct Bar y; };
7 int __attribute__((const)) foo (struct Bar);
9 int bar (int b)
11 struct Foo f;
12 int c;
13 while (b--)
15 c = foo(f.y);
17 return c;
20 /* { dg-final { scan-tree-dump "Replaced foo \\(f.y\\)" "pre" } } */