https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69976
--- Comment #4 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- I think you should read the discussion starting at <https://gcc.gnu.org/ml/gcc/2015-09/msg00135.html> and see how your ideas compare to it, then maybe try to restart that discussion and get consensus on a suitable API approach.