This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/60940] general operations on atomic types do not work with atomic integral typedefs


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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Sat Jan 17 01:23:28 2015
New Revision: 219790

URL: https://gcc.gnu.org/viewcvs?rev=219790&root=gcc&view=rev
Log:
    PR libstdc++/60940
    * include/bits/atomic_base.h: Remove atomic integral typedefs as
    synonyms for __atomic_base<int> etc.
    * include/std/atomic: Make atomic_int a synonym for atomic<int> and
    likewise for all atomic integral types.
    * testsuite/29_atomics/atomic_integral/cons/copy_list.cc: New.
    * testsuite/29_atomics/atomic/60695.cc: Adjust dg-error line number.

Added:
    trunk/libstdc++-v3/testsuite/29_atomics/atomic_integral/60940.cc
      - copied, changed from r219785,
trunk/libstdc++-v3/testsuite/29_atomics/atomic/60695.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/atomic_base.h
    trunk/libstdc++-v3/include/std/atomic
    trunk/libstdc++-v3/testsuite/29_atomics/atomic/60695.cc


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]