Projet_SETI_RISC-V/riscv-gnu-toolchain/gcc/gcc/testsuite/gcc.dg/pr87962.c
2023-03-06 14:48:14 +01:00

17 lines
268 B
C

/* { dg-do compile } */
/* { dg-options "-O3" } */
/* { dg-additional-options "-march=bdver2" { target { x86_64-*-* i?86-*-* } } } */
int a, b;
int c()
{
long d, e;
while (a) {
a++;
b = 0;
for (; b++ - 2; d = d >> 1)
e += d;
}
return e;
}