[Bug tree-optimization/93131] ((a&8) == 8) && ((a&2) == 2) is not optimized to (a&(8|2)) == (8|2)

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 3 22:46:00 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93131

--- Comment #13 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #12)
> Otherwise it LGTM, so please post it this week, I'd really like to see it in
> GCC 10.

I writing the testcases right now.  There will be at least 25 of them.  One
executable.  Writing testcases take longer than writing the original patch due
to all of the combos that need to be tested (using macros to simplify things
though).


More information about the Gcc-bugs mailing list