https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95282
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:bbaec68c86f8e89a3460cc022c75d4c4179bfb0a commit r11-674-gbbaec68c86f8e89a3460cc022c75d4c4179bfb0a Author: Jonathan Wakely <jwak...@redhat.com> Date: Wed May 27 22:55:21 2020 +0100 libstdc++: Fix atomic<FP>::load (PR 95282) PR libstdc++/95282 * include/bits/atomic_base.h (__atomic_impl::load): Add cv-qualifiers to parameter so that _Tp is deduced as the unqualified type. * testsuite/29_atomics/atomic_float/95282.cc: New test.