]> gcc.gnu.org Git - gcc.git/commit
libstdc++: Guard use of new built-in with __has_builtin
authorJonathan Wakely <jwakely@redhat.com>
Thu, 29 Sep 2022 10:30:05 +0000 (11:30 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 5 Oct 2022 12:39:28 +0000 (13:39 +0100)
commitdc70f3f81bb980b69a1910c2e6d3774ddd716846
treed476048a76f4f31d119e8ccc7c02463ddfede94c
parent4c451631f722c9939260a5c2fc209802a47e525f
libstdc++: Guard use of new built-in with __has_builtin

Another case where I forgot that non-GCC compilers don't have this
built-in yet.

libstdc++-v3/ChangeLog:

* include/bits/invoke.h (__invoke_r): Check
__has_builtin(__reference_converts_from_temporary) before using
built-in.
libstdc++-v3/include/bits/invoke.h
This page took 0.056386 seconds and 5 git commands to generate.