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

            Bug ID: 117637
           Summary: g++.dg/tree-ssa/loop-split-1.C has undefined behaviour
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sjames at gcc dot gnu.org
                CC: hubicka at gcc dot gnu.org
  Target Milestone: ---

g++.dg/tree-ssa/loop-split-1.C has:
```
    std::vector<float> a, b, c;
    a.reserve(s);
    b.reserve(s);
    c.reserve(s);
[...]
```

I think it should be s/reserve/resize/? It still splits the loop with that
change.

Reply via email to