This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/18892] missed optimization with & and ==
- From: "amacleod at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Dec 2004 14:34:15 -0000
- Subject: [Bug tree-optimization/18892] missed optimization with & and ==
- References: <20041208201526.18892.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From amacleod at redhat dot com 2004-12-09 14:34 -------
Im confused. I see a final form of:
f (a)
{
<bb 0>:
return (a & -129) == 144;
}
when I compile this program with mainline. Isnt this what you claimed it should
be compiled to? or are you claiming it should be optimized to 'return 0'?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18892