[Bug tree-optimization/107130] [13 Regression] wrong code with -Os -fno-tree-ccp -fno-tree-forwprop -fno-tree-fre since r13-2900-g001c60ccfeaf9a48

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 3 12:02:00 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107130

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
> 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.


More information about the Gcc-bugs mailing list