summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr85195.c
blob: fb21ee97c5c783493ac45609b736dd88c1f37db5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* PR middle-end/85195 */
/* { dg-do compile { target int128 } } */
/* { dg-options "-Wno-psabi -O -fno-tree-ccp" } */

typedef __int128 V __attribute__ ((vector_size (16)));

extern int bar (V);

V v;
int i;

V
foo (void)
{
  do
    v *= bar (v & i);
  while ((V){}[0]);
  return v;
}