https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101741
--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to Arseny Solokha from comment #2) > (In reply to Martin Liška from comment #1) > > why is the test-case marked as "invalid"? > > It is definitely well-formed syntactically, but I'm not sure how to classify > a case of redefining a standard function which has a builtin in gcc w/ a > function w/ different return type. Is there any guidance that I could refer > to in the future when telling valid testcases from invalid ones? Ah, that's the reason. I don't know what requirements do we have for such functions..