[Bug middle-end/18908] Missed folding opportunities with bools
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jul 19 13:31:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18908
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.7.0
--- Comment #17 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-07-19 13:29:49 UTC ---
Now we get
f1:
.LFB0:
.cfi_startproc
movzbl (%rdi), %eax
ret
f2:
.LFB1:
.cfi_startproc
movzbl (%rdi), %eax
ret
f3:
.LFB2:
.cfi_startproc
xorb $1, (%rdi)
ret
f4:
.LFB3:
.cfi_startproc
movb $1, (%rdi)
ret
thus, fixed.
More information about the Gcc-bugs
mailing list