Hi, I have a little question

Right now internally in gcc we flexibly check whether a particular
function (or rather "function class", which could be easily extended)
is present or not in libc by calling target hook "libc_has_function",
however in the testsuite for c99 runtime we still check whether the
full support of it is in place (in gcc.dg/builtins-config.h).

And so some tests for some targets (e.g. gcc.dg/builtins-58.c for
bionic) are unsupported right now, while actually they are OK.

I wonder may be we can somehow get the value of libc_has_function hook
for a particular function in the test so to flexibly define whether
the test should be unsupported or not?
E.g. by adding some debug options for gcc that will return the result
of the hook? But I doubt that such option would be a pretty solution

thanks
--Alexander

Reply via email to