https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93570
Bill Schmidt <wschmidt at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2020-02-05 Ever confirmed|0 |1 --- Comment #1 from Bill Schmidt <wschmidt at gcc dot gnu.org> --- Yes, looks like the documentation is wrong. Looking at GCC trunk: ftype = build_function_type_list (void_type_node, intSI_type_node, double_type_node, NULL_TREE); def_builtin ("__builtin_mtfsf", ftype, RS6000_BUILTIN_MTFSF); This indicates the correct prototype to be: void __builtin_mtfsf (const int, double); as you suggest. The documentation needs correcting, but you should be able to use the correct prototype in 8.3.0. This builtin hasn't changed in ages. Confirmed.