This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r208820 - in /branches/gcc-4_8-branch/libstdc++...
- From: redi at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Tue, 25 Mar 2014 20:13:47 -0000
- Subject: r208820 - in /branches/gcc-4_8-branch/libstdc++...
Author: redi
Date: Tue Mar 25 20:13:46 2014
New Revision: 208820
URL: http://gcc.gnu.org/viewcvs?rev=208820&root=gcc&view=rev
Log:
PR libstdc++/60658
* include/bits/atomic_base.h (__atomic_base<_PTp*>::is_lock_free()):
Use sizeof pointer type not the element type.
* testsuite/29_atomics/atomic/60658.cc: New.
PR libstdc++/60658
* include/bits/atomic_base.h (__atomic_base<_PTp*>::is_lock_free()):
Use sizeof pointer type not the element type.
* testsuite/29_atomics/atomic/60658.cc: New.
Added:
branches/gcc-4_8-branch/libstdc++-v3/testsuite/29_atomics/atomic/60658.cc
Modified:
branches/gcc-4_8-branch/libstdc++-v3/ChangeLog
branches/gcc-4_8-branch/libstdc++-v3/include/bits/atomic_base.h