This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/18031] OR of a bitfield and a constant is not optimized at tree level
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jun 2005 20:17:00 -0000
- Subject: [Bug tree-optimization/18031] OR of a bitfield and a constant is not optimized at tree level
- References: <20041016050601.18031.kazu@cs.umass.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-24 20:16 -------
I think this is now fixed on the mainline at the RTL level:
ior:
movl 4(%esp), %eax
orb $1, (%eax)
ret
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18031