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

            Bug ID: 82473
           Summary: [8 Regression] ICE in vect_get_vec_def_for_stmt_copy,
                    at tree-vect-stmts.c:1524
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---

gcc-8.0.0-alpha20171001 snapshot (r253330) ICEs when compiling the following
snippet w/ -O1 -ftree-vectorize:

void
zz (int x9, short int gt)
{
  if (0)
    {
      while (gt < 1)
        {
          int pz;

 k6:
          for (pz = 0; pz < 3; ++pz)
            x9 += gt;
          ++gt;
        }
    }

  if (x9 != 0)
    goto k6;
}

gcc-8.0.0-alpha20171001 -O1 -ftree-vectorize -c rkv2nnff.c                    
during GIMPLE pass: vect
rkv2nnff.c: In function 'zz':
rkv2nnff.c:2:1: internal compiler error: in vect_get_vec_def_for_stmt_copy, at
tree-vect-stmts.c:1524
 zz (int x9, short int gt)
 ^~

Reply via email to