https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90648
--- Comment #6 from Marc Glisse <glisse at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #5) > So perhaps the way forward is just do a better job on the C FE side too, if > the user provided decl is too different, make sure not to overwrite the old > anticipated builtin and don't mark the new decl as builtin. Yes, that sounds like what I was hoping for without understanding how it is implemented ;-) (but only if it isn't too much more work)