diff options
author | Jakub Jelinek <jakub@redhat.com> | 2025-08-03 17:13:37 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2025-08-03 17:15:20 +0200 |
commit | 5ecbe70d0f34ac9dadefc21c809fb6a2369d1bad (patch) | |
tree | 62cf6a8d6ec39b1f701cd72965598a2f953c1bb5 /libgo/runtime/go-int-array-to-string.c | |
parent | 835595d43eb8fe19b6cf5a5f381d3dc458350c95 (diff) | |
download | gcc-5ecbe70d0f34ac9dadefc21c809fb6a2369d1bad.zip gcc-5ecbe70d0f34ac9dadefc21c809fb6a2369d1bad.tar.gz gcc-5ecbe70d0f34ac9dadefc21c809fb6a2369d1bad.tar.bz2 |
libstdc++: Export std::owner_equal and std::owner_hash from std.cc
I've tried compiling
#include <bits/stdc++.h>
with -std=c++26 -fdump-lang-all
and
for i in `grep ^Class.std::[^_] *.C.001l.class | sed 's/^Class //;s/[< ].*$//' | sort -u | grep -v ::.*::`; do grep -q $i /usr/src/gcc/libstdc++-v3/src/c++23/std.cc.in || echo $i;
+done
This printed
std::auto_ptr
std::binary_function
std::owner_equal
std::owner_hash
std::unary_function
where auto_ptr, binary_function and unary_function have been removed in earlier
versions of C++ and owner_equal and owner_hash are missing.
The following patch adds them.
Wonder how to automatically discover other missing exports (like in PR121373
std::byteswap), maybe one could dig that stuff somehow from the raw
dump (look for identifiers in std namespace (and perhaps inlined namespaces
thereof at least) which don't start with underscore.
2025-08-03 Jakub Jelinek <jakub@redhat.com>
* src/c++23/std.cc.in (std::owner_equal, std::owner_hash): Export.
Diffstat (limited to 'libgo/runtime/go-int-array-to-string.c')
0 files changed, 0 insertions, 0 deletions