Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr77937-1.c
blob8661d24ec28cb6b21bd6dc72747c0489a47dd28a
1 /* { dg-do compile } */
2 /* { dg-options "-O3" } */
3 /* { dg-additional-options "-march=amdfam10" { target i?86-*-* x86_64-*-* } } */
5 int *a;
6 int b, c, d;
7 void fn1(char *p1, int p2) {
8 int x;
9 while (1) {
10 x = 0;
11 for (; x < 8; x++)
12 p1[0] = -a[0] * d + p1[0] * c + 1 >> b >> 1;
13 p1 += p2;