]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/pr87962.c
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / pr87962.c
CommitLineData
be2b68e4
RB
1/* { dg-do compile } */
2/* { dg-options "-O3" } */
3/* { dg-additional-options "-march=bdver2" { target { x86_64-*-* i?86-*-* } } } */
4
5int a, b;
6
7int c()
8{
9 long d, e;
10 while (a) {
11 a++;
12 b = 0;
13 for (; b++ - 2; d = d >> 1)
14 e += d;
15 }
16 return e;
17}