https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96036
--- Comment #1 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:8992cd1892df1adb352cf5d5b279a00686d1e88a commit r11-1857-g8992cd1892df1adb352cf5d5b279a00686d1e88a Author: Jonathan Wakely <jwak...@redhat.com> Date: Mon Jul 6 21:54:12 2020 +0100 libstdc++: Add noexcept to std::optional initialization (PR 96036) libstdc++-v3/ChangeLog: PR libstdc++/96036 * include/std/optional (optional): Add noexcept-specifier to every constructor, assignment operator, emplace function and dereference operator. * testsuite/20_util/optional/assignment/noexcept.cc: New test. * testsuite/20_util/optional/cons/noexcept.cc: New test.