https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79114
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Tue Jan 17 15:26:06 2017 New Revision: 244531 URL: https://gcc.gnu.org/viewcvs?rev=244531&root=gcc&view=rev Log: PR79114 use decayed type in std::throw_with_nested assertion PR libstdc++/79114 * libsupc++/nested_exception.h (throw_with_nested): Use decay instead of remove_reference. * testsuite/18_support/nested_exception/79114.cc: New test. Added: trunk/libstdc++-v3/testsuite/18_support/nested_exception/79114.cc Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/libsupc++/nested_exception.h