view gcc/testsuite/gcc.c-torture/compile/zero-strct-5.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* Check that the inliner does not crash for this testcase.
   gimple_expr can change the expr to NULL meaning that we
   should not add any statement. */
struct f {};
struct g1 {struct f l;};

static inline void g(struct f a, int i){}

void h(void)
{
  struct g1 t;
  g(t.l , 1);
}