https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90838
--- Comment #20 from Jakub Jelinek <jakub at gcc dot gnu.org> --- No, because __builtin_ctz is branchless too, it just has UB when the argument is 0.
jakub at gcc dot gnu.org via Gcc-bugs Fri, 17 Feb 2023 06:45:43 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90838
--- Comment #20 from Jakub Jelinek <jakub at gcc dot gnu.org> --- No, because __builtin_ctz is branchless too, it just has UB when the argument is 0.