2 ms·
> At least in my tests GCC and Clang seem to propagate it just fine. In my tests gcc clones sort and inlines the comparison only in -O3. clang doesn't do it ev
by leni536 6y ago
> At least in my tests GCC and Clang seem to propagate it just fine.
In my tests gcc clones sort and inlines the comparison only in -O3. clang doesn't do it even with -O3, neither with libstdc++ nor libc++.
https://godbolt.org/z/4feeex https://godbolt.org/z/4feeex