This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

fix libstdc++/52924


        PR libstdc++/52924
        * include/bits/shared_ptr_base.h (_Sp_counted_deleter): Add
        user-defined destructor.
        (_Sp_counted_inplace): Likewise.
        * testsuite/20_util/shared_ptr/cons/52924.cc: New.
        * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error
        line numbers.

Tested x86_64-linux, committed to trunk and 4.7

Attachment: patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]