aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/pr113002.c
blob: ad6e5835985eb5b6887f642583adbc85f1f172a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-require-effective-target int128 } */
/* { dg-additional-options "-finline-stringops -Os" } */

typedef __int128 v64u128 __attribute__((vector_size(64)));
int c;
v64u128 u;
void foo() {
  if (c)
    u = (v64u128){0};
  else
    u = (v64u128){1};
}