https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120221

--- Comment #5 from Christophe Jaillet <christophe.jaillet at wanadoo dot fr> 
---
Created attachment 61406
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61406&action=edit
generated asm file

The generated output.

The first fuction has a shrq. A shift is expected here.
The 2nd function doesn't have the sihft, which is the expected behavior.

How ever, the first function uses cmpq which looks uneeded here, while the
other one only cmpl.

Reply via email to