Bug ID: 91750
           Summary: Induction vectorization introduces signed overflows
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot
          Reporter: rguenth at gcc dot
  Target Milestone: ---

Split out from PR91665.

int val[1024];
foo (int n)
  int i;
  for (int j = 0, i = n; j < 1024; ++j, i=(unsigned)i+1)
    val[j] = i;

generates signed add for the induction vectorization.

Reply via email to