c++: hide __is_deducible for GCC 13
commit30556bf81f4385c2a9c449948865dbcf35664764
authorJason Merrill <jason@redhat.com>
Thu, 9 Mar 2023 04:53:21 +0000 (8 23:53 -0500)
committerJason Merrill <jason@redhat.com>
Thu, 9 Mar 2023 15:25:45 +0000 (9 10:25 -0500)
tree983e2d0a04bed217b1fa69111ca50ea16ef5fcec
parent148cbb153dafd6b21d83c00787acd430aec68a3d
c++: hide __is_deducible for GCC 13

I want to have more discussion about the interface before claiming the
__is_deducible name, so for GCC 13 make it internal-only.

gcc/ChangeLog:

* doc/extend.texi: Comment out __is_deducible docs.

gcc/cp/ChangeLog:

* cp-trait.def (IS_DEDUCIBLE): Add space to name.

gcc/testsuite/ChangeLog:

* g++.dg/ext/is_deducible1.C: Guard with
__has_builtin (__is_deducible).
gcc/cp/cp-trait.def
gcc/doc/extend.texi
gcc/testsuite/g++.dg/ext/is_deducible1.C