https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14753 --- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #9) > Fold should do all of these. Now I will say match-and-simplify should handle all of these. :)