https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79114

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Tue Feb 14 20:07:48 2017
New Revision: 245449

URL: https://gcc.gnu.org/viewcvs?rev=245449&root=gcc&view=rev
Log:
PR79114 use decayed type in std::throw_with_nested assertion

Backport from mainline
2017-01-17  Jonathan Wakely  <jwak...@redhat.com>

        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:
   
branches/gcc-6-branch/libstdc++-v3/testsuite/18_support/nested_exception/79114.cc
Modified:
    branches/gcc-6-branch/libstdc++-v3/ChangeLog
    branches/gcc-6-branch/libstdc++-v3/libsupc++/nested_exception.h

Reply via email to