view gcc/testsuite/gcc.dg/torture/pr92152.c @ 19:2b5abeee2509 default tip

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

/* { dg-do run } */
union U
{
  long long i;
  long f;
} v;
 	
long
foo (long *f)
{
  *f = 1;
  v.i = 0;
  v.f = 0;
  return *f;
}
 	
int
main ()
{
  if (foo (&v.f) != 0)
    __builtin_abort ();
  return 0;
}