aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/pr115753-2.c
blob: ceacada2a7642fe5c0ba58daedaf29ce697a116b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* { dg-do compile } */
/* { dg-options "-O2 -frounding-math" } */
/* { dg-add-options float16  } */
/* { dg-require-effective-target float16  } */

void f(_Float16*);
void
foo1 ()
{
  int t0 = 3967;
  int t1 = 3969;
  int t2 = 3971;
  int t3 = 3973;
  _Float16 tt[4];
  tt[0] = t0;
  tt[1] = t1;
  tt[2] = t2;
  tt[3] = t3;
  f(&tt[0]);
}