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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2025-08-29
             Status|UNCONFIRMED                 |NEW

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Also this is regressed but differently:
```
#include <vector>
#include <algorithm>
#include <cstdint>
size_t min3(const std::vector<uint64_t>& v)
{
    auto *min = &v[0];

    for (size_t i = 1; i < v.size(); ++i)
        if (v[i] < *min)
            min = &v[i];

    return *min;
}
```

Reply via email to