summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr46295.c
blob: 219f34e8fe9071ab6eba2be5b3ea14a0f7d82189 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile } */
/* { dg-options "-O3 -mavx -mtune=generic -dp" } */

typedef double EXPRESS[5];
void Parse_Rel_Factor (EXPRESS Express,int *Terms);
void Parse_Vector ()
{
   EXPRESS Express;
   int Terms;
   for (Terms = 0; Terms < 5; Terms++)
     Express[Terms] = 0.0;
   Parse_Rel_Factor(Express,&Terms);
}

/* { dg-final { scan-assembler-times "avx_vzeroupper" 1 } } */