summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr105263.c
blob: 5cb7fcd09a256cd877b8fdb302fb9516ed64309b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile { target dfp } } */
/* { dg-options "-O -ffast-math -w -Wno-psabi" } */

typedef _Decimal64 __attribute__((__vector_size__ (8))) U;
typedef _Decimal64 __attribute__((__vector_size__ (16))) V;

V v;

U
foo (U u)
{
  u *= u;
  u *= -(U){ v[1] };
  return u;
}