view gcc/testsuite/gcc.dg/pr92741.c @ 152:2b5abeee2509

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

/* { dg-options "-O2 -fexceptions -fnon-call-exceptions -fno-inline" } */

typedef int vh __attribute__ ((__vector_size__ (2 * sizeof (int))));
typedef short int cq __attribute__ ((__vector_size__ (4 * sizeof (short int))));

static void
id (int *r8, vh *tu)
{
  *(vh *) r8 = *tu;
}

void
mr (void)
{
  int r8;
  cq he = { 0, };

  id (&r8, (vh *) &he);
}