https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107130
Aldy Hernandez <aldyh at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |aldyh at gcc dot gnu.org --- Comment #4 from Aldy Hernandez <aldyh at gcc dot gnu.org> --- (In reply to Martin Liška from comment #3) > > Nice, so ffs() with a propagated constant argument now does a popcount() > > instead? > > It should not. The problem is op_cfn_popcount is shared by both popcount and > ffs, but the newly added transformation is valid only for popcount. Ughh, indeed. Thanks for the analysis Martin.