view gcc/testsuite/c-c++-common/pr94385.c @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
line wrap: on
line source

/* PR c++/94385 */
/* { dg-do compile } */
/* { dg-options "" } */

typedef int V __attribute__((__vector_size__(16)));
typedef float W __attribute__((__vector_size__(16)));

void
foo (W *x, V *y)
{
  *y = (({ __builtin_convertvector (*x, V); }));
}