i386: Fix a pasto in ix86_expand_int_sse_cmp [PR114339]
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr114339.c
blob8fba3747cf12cd7ae6056b2ef33cbad7b46893c5
1 /* PR target/114339 */
2 /* { dg-do run } */
3 /* { dg-options "-O2 -Wno-psabi" } */
4 /* { dg-additional-options "-mavx" { target avx_runtime } } */
6 typedef long long V __attribute__((vector_size (16)));
8 __attribute__((noipa)) V
9 foo (V a)
11 return a <= (V) {0, __LONG_LONG_MAX__ };
14 int
15 main ()
17 V t = foo ((V) { 0, 0 });
18 if (t[0] != -1LL || t[1] != -1LL)
19 __builtin_abort ();