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

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Reduced:
/* PR middle-end/112668 */
/* { dg-do compile { target bitint } } */
/* { dg-options "-std=c23 -fnon-call-exceptions" } */

#if __BITINT_MAXWIDTH__ >= 495
struct T495 { _BitInt(495) a : 2; unsigned _BitInt(495) b : 471; _BitInt(495) c
: 2; };
extern void foo (struct T495 *r495);

int
bar (void)
{
  struct T495 r495[12];
  foo (r495);
  for (int i = 0; i < 12; ++i)
    if (r495[i].b != 0uwb)
      return 1;
  return 0;
}
#endif

Reply via email to