https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115804
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2024-07-07 Ever confirmed|0 |1 --- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- It looks like that was copied from DoBuiltinAlloca/DoBuiltinMemCopy where ptr_type_node is ok/correct. In summary the functions that need to be fixed (replacing the return type that was ptr_type_node with the return type of the function): DoBuiltinIsfinite DoBuiltinIsnan m2builtins_BuiltInHugeVal m2builtins_BuiltInHugeValShort m2builtins_BuiltInHugeValLong Confirmed.