This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/66636] New: [6 Regression] ICE in vect_get_vec_def_for_stmt_copy, at tree-vect-stmts.c:1590


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

            Bug ID: 66636
           Summary: [6 Regression] ICE in vect_get_vec_def_for_stmt_copy,
                    at tree-vect-stmts.c:1590
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
  Target Milestone: ---

struct X { double x; double y; };

struct X *x;
void foo (double px, int s)
{
  int i;
  for (i = 0; i < 256; ++i)
    {
      x[i*s].x = px;
      x[i*s].y = i + px;
    }
}

with -O3 -mavx2

This causes ammp in SPEC 2000 to ICE.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]