This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/67731] Combine of OR'ed bitfields should use bit-test
- From: "olegendo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 28 Sep 2015 14:15:27 +0000
- Subject: [Bug rtl-optimization/67731] Combine of OR'ed bitfields should use bit-test
- Auto-submitted: auto-generated
- References: <bug-67731-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67731
--- Comment #2 from Oleg Endo <olegendo at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #1)
> Ok, so usually this gets optimized by fold-const.c
> optimize_bit_field_compare but
> appearantly that doesn't work here. Not that I like this function very
> much...
Can this one be handled by match.pd then? If so, can you please change this to
tree-opt?