Revert "GCN, nvptx: Basic '__cxa_guard_{acquire,abort,release}' for C++ static local variables support" (was: OpenMP offloading vs. C++ static local variables)
Thomas Schwinge
tschwinge@baylibre.com
Fri Mar 14 12:29:03 GMT 2025
Hi!
On 2023-12-23T10:17:57+0100, I wrote:
> On 2023-12-21T13:58:23+0100, Jakub Jelinek <jakub@redhat.com> wrote:
>> On Thu, Dec 21, 2023 at 01:31:19PM +0100, Thomas Schwinge wrote:
>>> OK to push, for a start, the attached
>>> "GCN, nvptx: Basic '__cxa_guard_{acquire,abort,release}' for C++ static local variables support"?
>>> That's now in libgcc not libgomp, so that it's also usable for GCN, nvptx
>>> target testing, where we thus see a number of FAIL -> PASS progressions.
>>
>>> For now, for single-threaded GCN, nvptx target use only; extension for
>>> multi-threaded offloading use to follow later.
>>>
>>> libgcc/
>>> * c++-minimal/README: New.
>>> * c++-minimal/guard.c: New.
>>> * config/gcn/t-amdgcn (LIB2ADD): Add it.
>>> * config/nvptx/t-nvptx (LIB2ADD): Likewise.
>> [...] LGTM, but hope that one day we'll get rid of it again.
>
> Yep.
..., and here we are; GCN, nvptx now has libstdc++-v3/libsupc++ proper.
> Pushed to master branch commit c0bf7ea189ecf252152fe15134f70f576bcd20b2
> "GCN, nvptx: Basic '__cxa_guard_{acquire,abort,release}' for C++ static local variables support",
> see attached.
Pushed to trunk branch commit fad9d58e057e5f976cacdca90e2519ed5f0990ad
'Revert "GCN, nvptx: Basic '__cxa_guard_{acquire,abort,release}' for C++ static local variables support"',
see attached.
Grüße
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Revert-GCN-nvptx-Basic-__cxa_guard_-acquire-abort-re.patch
Type: text/x-diff
Size: 4737 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20250314/b1eb5ab9/attachment.bin>
More information about the Libstdc++
mailing list