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: 18 Nov 2006 01:34:37 -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 #9 from pinskia at gcc dot gnu dot org 2006-11-18 01:34 -------
(In reply to comment #8)
> Shouldn't this be fixed by Roger Sayle's recent fold-const.c patch?
No, in fact the generic (the one where 2 is turned into a variable) is not
optimized either.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Last reconfirmed|2006-09-17 09:19:25 |2006-11-18 01:34:36
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9814