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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-11-26
                 CC|                            |trippels at gcc dot gnu.org
          Component|c                           |middle-end
   Target Milestone|---                         |5.0
            Summary|ICE compiling Linux Kernel  |[5 Regression] ICE: in
                   |drivers/isdn/i4l/isdn_net.c |fix_loop_structure, at
                   |                            |loop-init.c:252 compiling
                   |                            |Linux Kernel
     Ever confirmed|0                           |1

--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Reduced:

markus@x4 tmp % cat isdn_net.i
int a, b;
void
fn1 ()
{
  int c = 0;
  while (b)
    {
      switch (c)
      case 1:
      fn1 ();
      if (a)
        c = 1;
      b = 0;
    }
}

markus@x4 tmp % gcc -O2 -c isdn_net.i
isdn_net.i: In function ‘fn1’:
isdn_net.i:3:1: internal compiler error: in fix_loop_structure, at
loop-init.c:263

Reply via email to