view gcc/testsuite/gcc.c-torture/compile/20050113-1.c @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* PR c/17297 */

typedef float V2SF __attribute__ ((vector_size (8)));

int test0 (V2SF, V2SF);

int
main (void)
{
  V2SF a = (V2SF) {1.0f/0.0f - 1.0f/0.0f, 1.0f/0.0f - 1.0f/0.0f};
  V2SF b = (V2SF) {567.345, 1984.0};
  int i;

  i = test0 (a, b);
  return i;
}