[Bug middle-end/58970] [4.7/4.8/4.9 Regression] internal compiler error: in get_bit_range, at expr.c:4562

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Nov 2 13:38:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58970

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
struct S
{
  struct
  {
    int b:1;
  } mode[1];
};

void
foo (int x, struct S *s)
{
  if (x == -1)
    s->mode[x].b = 0;
}



More information about the Gcc-bugs mailing list