https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109289
--- Comment #7 from Thomas Schwinge <tschwinge at gcc dot gnu.org> --- Created attachment 56805 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56805&action=edit '0001-WIP-GCC-PR109289-Conflicting-types-for-built-in-func.patch' Attaching my current WIP patch. I may later bring this to completion (properly), unless anyone gets there first.