https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95527
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:653ab081391e9e7e38b304f3234323c93693d40c commit r11-1080-g653ab081391e9e7e38b304f3234323c93693d40c Author: Jakub Jelinek <ja...@redhat.com> Date: Tue Jun 9 08:38:19 2020 +0200 match.pd: Optimize ffs comparisons against constants [PR95527] The following patch implements various optimizations of __builtin_ffs* against constants. 2020-06-09 Jakub Jelinek <ja...@redhat.com> PR tree-optimization/95527 * match.pd (__builtin_ffs (X) cmp CST): New optimizations. * gcc.dg/tree-ssa/pr95527.c: New test.