https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114231
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Last reconfirmed| |2024-03-05
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Further reduced:
```
static inline
long ClampedSize(long begin, unsigned long size_max) {
return begin + size_max ? size_max : 0;
}
void f(long*);
int ff[2];
void k(unsigned long x, unsigned long y) {
long t = x >> ff[0];
long t1 = ff[1];
long t2 = y >> ff[0];
long t3 = ClampedSize(t, t2);
long t4[2];
t4[0] = t1;
t4[1] = t3;
f(t4);
}
```