https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99536
--- 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:67e397660611990efd98f9e4106c1ee81f6803a4 commit r11-7627-g67e397660611990efd98f9e4106c1ee81f6803a4 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.