libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr116812.c
blob3e83c13d94bdb475828971efb5b6f2e5101eaebe
1 /* { dg-do compile } */
2 /* { dg-additional-options "-O2 -fno-tree-dce -fno-tree-dse" } */
4 int a, b, c, d, e, f[2], g, h;
5 int k(int j) { return 2 >> a ? 2 >> a : a; }
6 int main() {
7 int i;
8 for (; g; g = k(d = 0))
10 if (a)
11 b && h;
12 for (e = 0; e < 2; e++)
13 c = d & 1 ? d : 0;
14 for (i = 0; i < 2; i++)
15 f[i] = 0;
16 return 0;