https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64650
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Wed Jun 10 09:42:37 2015 New Revision: 224323 URL: https://gcc.gnu.org/viewcvs?rev=224323&root=gcc&view=rev Log: Backport from mainline 2015-01-20 Jonathan Wakely <jwak...@redhat.com> PR libstdc++/64650 * include/experimental/optional (bad_optional_access): Add default constructor. * testsuite/experimental/optional/requirements.cc: Test for default constructor. Modified: branches/gcc-4_9-branch/libstdc++-v3/ChangeLog branches/gcc-4_9-branch/libstdc++-v3/include/experimental/optional branches/gcc-4_9-branch/libstdc++-v3/testsuite/experimental/optional/requirements.cc