libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / pr87962.c
blob6a551d3d5c8d922675f5a1cb999c2bd9350e2936
1 /* { dg-do compile } */
2 /* { dg-options "-O3" } */
3 /* { dg-additional-options "-march=bdver2" { target { x86_64-*-* i?86-*-* } } } */
5 int a, b;
7 int c()
9 long d, e;
10 while (a) {
11 a++;
12 b = 0;
13 for (; b++ - 2; d = d >> 1)
14 e += d;
16 return e;