aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr117137.c
blob: b6ce78d86087004de5b87e7bdd8425b933d58b7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-additional-options "-msse4" { target { x86_64-*-* i?86-*-* } } } */

long x[2];

int
foo (int c)
{
  long x0 = x[0], x1 = x[1];
  int t = x0 != 0 | x1 != 0;
  c *= t;
  return c;
}