public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/104101] New: [12 Regression] libstdc++ shared_ptr_atomic fails on AIX
@ 2022-01-18 17:57 dje at gcc dot gnu.org
  2022-01-18 18:06 ` [Bug libstdc++/104101] " redi at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dje at gcc dot gnu.org @ 2022-01-18 17:57 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104101

            Bug ID: 104101
           Summary: [12 Regression] libstdc++ shared_ptr_atomic fails on
                    AIX
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dje at gcc dot gnu.org
  Target Milestone: ---
            Target: powerpc-ibm-aix*

Excess errors:
/tmp/GCC/powerpc-ibm-aix7.2.3.0/libstdc++-v3/include/bits/shared_ptr_atomic.h:39
5: error: '__thread_relax' is not a member of 'std::__detail'
/tmp/GCC/powerpc-ibm-aix7.2.3.0/libstdc++-v3/include/bits/shared_ptr_atomic.h:40
4: error: '__thread_relax' is not a member of 'std::__detail'

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

* [Bug libstdc++/104101] [12 Regression] libstdc++ shared_ptr_atomic fails on AIX
  2022-01-18 17:57 [Bug libstdc++/104101] New: [12 Regression] libstdc++ shared_ptr_atomic fails on AIX dje at gcc dot gnu.org
@ 2022-01-18 18:06 ` redi at gcc dot gnu.org
  2022-01-19  1:03 ` cvs-commit at gcc dot gnu.org
  2022-01-19  1:07 ` redi at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: redi at gcc dot gnu.org @ 2022-01-18 18:06 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104101

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2022-01-18
           Assignee|unassigned at gcc dot gnu.org      |redi at gcc dot gnu.org
   Target Milestone|---                         |12.0
             Status|UNCONFIRMED                 |ASSIGNED
     Ever confirmed|0                           |1

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

* [Bug libstdc++/104101] [12 Regression] libstdc++ shared_ptr_atomic fails on AIX
  2022-01-18 17:57 [Bug libstdc++/104101] New: [12 Regression] libstdc++ shared_ptr_atomic fails on AIX dje at gcc dot gnu.org
  2022-01-18 18:06 ` [Bug libstdc++/104101] " redi at gcc dot gnu.org
@ 2022-01-19  1:03 ` cvs-commit at gcc dot gnu.org
  2022-01-19  1:07 ` redi at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-01-19  1:03 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104101

--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>:

https://gcc.gnu.org/g:c3861f79859d96777f86a24261fe639538fd2e1c

commit r12-6708-gc3861f79859d96777f86a24261fe639538fd2e1c
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Tue Jan 18 21:15:05 2022 +0000

    libstdc++: Fix std::atomic<std::shared_ptr<T>> for AIX [PR104101]

    This fixes an on AIX.

    The lock function currently just spins, which should be changed to use
    back-off, and maybe then _M_val.wait(__current) when supported.

    libstdc++-v3/ChangeLog:

            PR libstdc++/104101
            * include/bits/shared_ptr_atomic.h
(_Sp_atomic::_Atomic_count::lock):
            Only use __thread_relax if __cpp_lib_atomic_wait is defined.

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

* [Bug libstdc++/104101] [12 Regression] libstdc++ shared_ptr_atomic fails on AIX
  2022-01-18 17:57 [Bug libstdc++/104101] New: [12 Regression] libstdc++ shared_ptr_atomic fails on AIX dje at gcc dot gnu.org
  2022-01-18 18:06 ` [Bug libstdc++/104101] " redi at gcc dot gnu.org
  2022-01-19  1:03 ` cvs-commit at gcc dot gnu.org
@ 2022-01-19  1:07 ` redi at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: redi at gcc dot gnu.org @ 2022-01-19  1:07 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104101

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed

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

end of thread, other threads:[~2022-01-19  1:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-18 17:57 [Bug libstdc++/104101] New: [12 Regression] libstdc++ shared_ptr_atomic fails on AIX dje at gcc dot gnu.org
2022-01-18 18:06 ` [Bug libstdc++/104101] " redi at gcc dot gnu.org
2022-01-19  1:03 ` cvs-commit at gcc dot gnu.org
2022-01-19  1:07 ` redi at gcc dot gnu.org

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).