https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99536
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:039fc1ff2b018aaba5203c89de64ddc02c7a5c17 commit r10-9592-g039fc1ff2b018aaba5203c89de64ddc02c7a5c17 Author: Jonathan Wakely <jwak...@redhat.com> Date: Thu Mar 11 16:43:51 2021 +0000 libstdc++: Initialize std::normal_distribution::_M_saved [PR 99536] This avoids a false positive -Wmaybe-uninitialized warning, by initializing _M_saved on construction. libstdc++-v3/ChangeLog: PR libstdc++/99536 * include/bits/random.h (normal_distribution): Use default-initializer for _M_saved and _M_saved_available. (cherry picked from commit 67e397660611990efd98f9e4106c1ee81f6803a4)