diff options
author | Ken Matsui <kmatsui@gcc.gnu.org> | 2024-02-08 00:12:07 -0800 |
---|---|---|
committer | Ken Matsui <kmatsui@gcc.gnu.org> | 2024-02-09 10:11:47 -0800 |
commit | 41a6d2560500a202708e7b661b8b2ad432aee3a6 (patch) | |
tree | 210a428877e0741c822235884ef41f1e89c6c90b /gcc/fortran/trans-common.cc | |
parent | f931bd7725f5cea948dd55ac370b5b9fd9a00198 (diff) | |
download | gcc-41a6d2560500a202708e7b661b8b2ad432aee3a6.zip gcc-41a6d2560500a202708e7b661b8b2ad432aee3a6.tar.gz gcc-41a6d2560500a202708e7b661b8b2ad432aee3a6.tar.bz2 |
libstdc++: Use _GLIBCXX_USE_BUILTIN_TRAIT for is_same
Since is_same has a fallback native implementation, and
_GLIBCXX_HAVE_BUILTIN_IS_SAME does not support toggling which
implementation to use, we remove the _GLIBCXX_HAVE_BUILTIN_IS_SAME
definition and use _GLIBCXX_USE_BUILTIN_TRAIT instead.
libstdc++-v3/ChangeLog:
* include/bits/c++config (_GLIBCXX_HAVE_BUILTIN_IS_SAME):
Removed.
* include/std/type_traits (is_same): Use
_GLIBCXX_USE_BUILTIN_TRAIT instead of
_GLIBCXX_HAVE_BUILTIN_IS_SAME.
(is_same_v): Likewise.
Signed-off-by: Ken Matsui <kmatsui@gcc.gnu.org>
Reviewed-by: Patrick Palka <ppalka@redhat.com>
Reviewed-by: Jonathan Wakely <jwakely@redhat.com>
Diffstat (limited to 'gcc/fortran/trans-common.cc')
0 files changed, 0 insertions, 0 deletions