This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/9814] gcc fails to optimise if (l&2) l|=2 away
- 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: 7 Dec 2005 03:12:14 -0000
- Subject: [Bug tree-optimization/9814] gcc fails to optimise if (l&2) l|=2 away
- References: <bug-9814-5514@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from pinskia at gcc dot gnu dot org 2005-12-07 03:12 -------
Once fold does (a&b)!=0?a|b:a to a and PR 25290 is fixed then this will be
caught at the tree level. There are most likely others like this too.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |25290
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9814