https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116016
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
So, what would be the prototype of the builtin?
Would it be type-generic for both arguments, i.e. effectively
void __builtin_set_counted_by (...);
which would just verify that 2 arguments are passed, the first one is some
flexible array member with counted_by argument and the second argument has some
type implicitly convertible to the type of the counted_by member?