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

extern void free (void *);
void
bar (void *ncstrp)
{
  if(ncstrp==((void *)0))
    return;
  free(ncstrp);
}

/* { dg-final { scan-assembler-not "avx_vzeroupper" } } */