On 7/19/22 09:11, Jonathan Wakely wrote:
Tested x86_64-linux, OK for trunk?
OK.
-- >8 --
The new built-ins need to be detectable using __has_builtin, and the
library should use that to check for them.
This fixes an error with Clang when C++23 is enabled.
gcc/cp/ChangeLog:
* cp-obj
On Tue, Jul 19, 2022 at 02:11:02PM +0100, Jonathan Wakely wrote:
> Tested x86_64-linux, OK for trunk?
>
> -- >8 --
>
> The new built-ins need to be detectable using __has_builtin, and the
> library should use that to check for them.
>
> This fixes an error with Clang when C++23 is enabled.
LGTM
Tested x86_64-linux, OK for trunk?
-- >8 --
The new built-ins need to be detectable using __has_builtin, and the
library should use that to check for them.
This fixes an error with Clang when C++23 is enabled.
gcc/cp/ChangeLog:
* cp-objcp-common.cc (names_builtin_p): Return true for