https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86525
Nikita Kniazev <nok.raven at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nok.raven at gmail dot com --- Comment #2 from Nikita Kniazev <nok.raven at gmail dot com> --- For the code above Clang produces: f(xx): leal (,%rdi,8), %ecx addb $-8, %cl movabsq $9925787320834, %rax shrq %cl, %rax retq