https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120886
Bug ID: 120886 Summary: SLP build does not consider operand swapping for commutative builtin functions Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- While r16-1778-gf788324c724240 added support for internal functions notably support for __builtin_fma () is missing because commutative_ternary_fn_p operates on internal_fn rather than combined_fn.