view gcc/testsuite/gcc.c-torture/compile/20200313-1.c @ 152:2b5abeee2509

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

/* PR middle-end/92071 */
/* Testcase by David Binderman <dcb314@hotmail.com> */

void *a;
union U { double c; char d[8]; };
void bar (union U);

void
foo (void)
{
  union U b;
  __builtin_memcpy (b.d, a, 8);
  bar (b);
}