aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr97192.c
blob: 16647ca67a399a17340130bd92ce6fa25adbfcb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* { dg-do compile } */
/* { dg-options "-O -ftracer" } */
/* { dg-additional-options "-mavx512vl" { target x86_64-*-* i?86-*-* } } */

typedef int __attribute__ ((__vector_size__ (32))) V;

int a, b;
V v;

int
foo (void)
{
  b -= 4 - !a;
  V u = 0 != v == a;
  return u[0];
}