https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112536
--- Comment #7 from Sam James <sjames at gcc dot gnu.org> ---
Here's the zstd testcase with clz instead too:
```
unsigned a, b, minTableLog_srcSize;
unsigned FSE_minTableLog_srcSize(unsigned maxSymbolValue) {
minTableLog_srcSize = __builtin_clz(a);
b = -minTableLog_srcSize;
int minBitsSrc = b + 1;
minTableLog_srcSize = __builtin_clz(maxSymbolValue);
a = -minTableLog_srcSize;
int minBitsSymbols = a + 2;
int minBits = minBitsSrc < minBitsSymbols ? minBitsSrc : minBitsSymbols;
return minBits;
}
```