view gcc/testsuite/gcc.c-torture/compile/pr82564.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents
children
line wrap: on
line source

/* PR middle-end/82564 */
/* { dg-require-effective-target alloca } */

int
main ()
{
  int t = 8, i;
  typedef struct { char v[t]; } B; 
  B a, b;
  B __attribute__ ((noinline)) f () { return b; }
  for (i = 0; i < 8; i++)
    b.v[i] = i;
  a = f ();
  return 0;
}