I noticed this while reading the match-and-simplify docs. The gimple_simplify API list has two built-in function cases with three tree args. The last one is supposed to have four tree args for a ternary function (3 inputs and one output). Similarly, in the gimple_build API list, the built-in ternary function case with four tree args is missing. Jim