https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117352
Filip Kastl <pheeck at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pheeck at gcc dot gnu.org --- Comment #3 from Filip Kastl <pheeck at gcc dot gnu.org> --- I've investigated Andi's patch today and I think that I have a fix for this. Basically, the patch calls is_beneficial() with number of values covered by a bit test cluster as an argument. But is_beneficial() should be called with number of cases covered by the cluster as an argument. I have checked that if I modify this part of the patch, the issue described in this PR doesn't happen. I plan to submit a modification of Andi's patch to the mailing list on Wednesday.