This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/18908] Missed folding opportunities with bools
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 19 Jul 2011 13:30:50 +0000
- Subject: [Bug middle-end/18908] Missed folding opportunities with bools
- Auto-submitted: auto-generated
- References: <bug-18908-4@http.gcc.gnu.org/bugzilla/>
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.