public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH][_GLIBCXX_INLINE_VERSION] Add missing symbols
@ 2023-10-05 17:03 François Dumont
  2023-10-05 17:05 ` Jonathan Wakely
  0 siblings, 1 reply; 2+ messages in thread
From: François Dumont @ 2023-10-05 17:03 UTC (permalink / raw)
  To: libstdc++; +Cc: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 384 bytes --]

Here is a patch to fix following test case in gcc:

gcc/testsuite/g++.dg/cpp23/ext-floating13.C

     libstdc++: [_GLIBCXX_INLINE_VERSION] Add missing float symbols

     libstdc++-v3/ChangeLog:

             * config/abi/pre/gnu-versioned-namespace.ver: Add missing 
symbols
             for _Float{16,32,64,128,32x,64x,128x}.

Ok to commit ?

François


[-- Attachment #2: versioned_ns_symbols.patch --]
[-- Type: text/x-patch, Size: 636 bytes --]

diff --git a/libstdc++-v3/config/abi/pre/gnu-versioned-namespace.ver b/libstdc++-v3/config/abi/pre/gnu-versioned-namespace.ver
index 267ab8fc719..9fab8bead15 100644
--- a/libstdc++-v3/config/abi/pre/gnu-versioned-namespace.ver
+++ b/libstdc++-v3/config/abi/pre/gnu-versioned-namespace.ver
@@ -318,6 +318,15 @@ CXXABI_2.0 {
     _ZTIPD[fde];
     _ZTIPKD[fde];
 
+    # typeinfo for _Float{16,32,64,128,32x,64x,128x} and
+    # __bf16
+    _ZTIDF[0-9]*[_bx];
+    _ZTIPDF[0-9]*[_bx];
+    _ZTIPKDF[0-9]*[_bx];
+    _ZTIu6__bf16;
+    _ZTIPu6__bf16;
+    _ZTIPKu6__bf16;
+
     # typeinfo for decltype(nullptr)
     _ZTIDn;
     _ZTIPDn;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH][_GLIBCXX_INLINE_VERSION] Add missing symbols
  2023-10-05 17:03 [PATCH][_GLIBCXX_INLINE_VERSION] Add missing symbols François Dumont
@ 2023-10-05 17:05 ` Jonathan Wakely
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Wakely @ 2023-10-05 17:05 UTC (permalink / raw)
  To: François Dumont; +Cc: libstdc++, gcc-patches

On Thu, 5 Oct 2023 at 18:04, François Dumont <frs.dumont@gmail.com> wrote:
>
> Here is a patch to fix following test case in gcc:
>
> gcc/testsuite/g++.dg/cpp23/ext-floating13.C
>
>      libstdc++: [_GLIBCXX_INLINE_VERSION] Add missing float symbols
>
>      libstdc++-v3/ChangeLog:
>
>              * config/abi/pre/gnu-versioned-namespace.ver: Add missing
> symbols
>              for _Float{16,32,64,128,32x,64x,128x}.
>
> Ok to commit ?

OK, thanks.


>
> François
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-05 17:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-05 17:03 [PATCH][_GLIBCXX_INLINE_VERSION] Add missing symbols François Dumont
2023-10-05 17:05 ` Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).