view gcc/testsuite/gcc.dg/pr94526.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/94526 */
/* { dg-do compile } */
/* { dg-options "-O2 -g" } */

struct S { int val[8 * sizeof (int)]; };

void
foo (struct S *x)
{
  struct S *a = x;
}

void baz (struct S);

void
bar (void)
{
  struct S b;
  foo (&b);
  baz (b);
}