https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121131

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Reduced testcase:
struct A { _BitInt(156) b : 135; };

static inline _BitInt(6)
foo (struct A *x)
{
  return x[1].b;
}

_BitInt(6)
bar (void)
{
  struct A a[] = {1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1 };
  return foo (&a[1]);
}

Reply via email to