This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/46207] std::atomic<const T *>::store(...) fails to compile
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 28 Oct 2010 09:50:40 +0000
- Subject: [Bug libstdc++/46207] std::atomic<const T *>::store(...) fails to compile
- Auto-submitted: auto-generated
- References: <bug-46207-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46207
--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> 2010-10-28 09:50:37 UTC ---
Note, we have a much more general issue with atomic<_Tp*> vs atomic_address:
everywhere we are assuming _Tp is not cv-qualified and this is not going to
work with atomic_address, which takes plain void*.