aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr89474.c
blob: 7d0dd9eac42edfd4e01cfa84419a547190cfac6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* PR target/89474 */
/* { dg-do compile } */
/* { dg-options "-O2 -mavx" } */

int a;
void foo (double);
int baz (void);

void
bar (void)
{
  while (baz ())
    foo (a);
}