This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/14792] ((int)b & 1) != 0 is not folded to b & 1 != 0
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 13 Feb 2012 06:32:37 +0000
- Subject: [Bug tree-optimization/14792] ((int)b & 1) != 0 is not folded to b & 1 != 0
- Auto-submitted: auto-generated
- References: <bug-14792-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14792
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |ASSIGNED
Depends on| |31531
Resolution|FIXED |
--- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-13 06:32:37 UTC ---
(In reply to comment #11)
> Actually just closing this as fixed.
Actually reopen for now, I have a partly better patch where we don't depend on
forwprop folding (int)b & 1 into (int)(b&1).