https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93231
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Also, there is no testcase for the string case, nor any non-target specific testcase that it at least compiles and perhaps with tree dump scan on selected targets that it recognizes the ctz. And I don't see a check that if it is a STRING_CST, the array elements must be bytes and not wider, which the function assumes (e.g. if it is u"..."[(x & -x) * ...) >> 27]).