summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/powerpc/pr106091.c
blob: 61ce8cf4733e27dda708b2b5c16138cb7f972ae2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-options "-O -fnon-call-exceptions -fno-tree-dce -fno-tree-forwprop -w" } */

/* Verify there is no ICE.  */

typedef short __attribute__ ((__vector_size__ (64))) V;
V v, w;

inline V foo (V a, V b);

V
foo (V a, V b)
{
  b &= v < b;
  return (V){foo (b, w)[3], (V){}[3]};
}