https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89676
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Target Milestone|--- |7.5 Summary|Redundant moves for long |[7/8/9 Regression] |long shift on 32bit x86 |Redundant moves for long | |long shift on 32bit x86 --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Started with r244942 (at least with -O2 -m32 -fomit-frame-pointer), before that we emitted foo: movl 4(%esp), %eax movl 8(%esp), %edx shldl $3, %eax, %edx sall $3, %eax ret