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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Shorter testcase:
```
#include <algorithm>

int f0(int sum0)
{
   return std::max(0, std::min(127, sum0));
}

int f1(int sum0)
{
   return std::max(std::min(127, sum0), 0);
}
```

Reply via email to