[Bug c/116016] enhancement: add __builtin_set_counted_by(P->FAM, COUNT) or equivalent

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jul 22 15:35:25 GMT 2024


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116016

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
It doesn't matter how it is documented, what matters is how it is implemented.
E.g. can you do (__builtin_call_with_static_chain) (fn, ptr)?
Or __typeof (__builtin_call_with_static_chain)?
Regular builtins are what is defined in builtins.def.


More information about the Gcc-bugs mailing list