aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2017-03-28 08:35:04 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2017-03-28 08:35:04 +0100
commitb1bd91584338e543ae7f6e7be707e6a2333f0c6d (patch)
treeb895a827025bb58d8a80a76e86e6218d070d7cb8 /gcc/fold-const.c
parenta292245ee8f4735d28b6cba7a614999bc81731f2 (diff)
downloadgcc-b1bd91584338e543ae7f6e7be707e6a2333f0c6d.zip
gcc-b1bd91584338e543ae7f6e7be707e6a2333f0c6d.tar.gz
gcc-b1bd91584338e543ae7f6e7be707e6a2333f0c6d.tar.bz2
PR libstdc++/80229 restore support for shared_ptr<function type>
PR libstdc++/80229 * include/bits/shared_ptr_base.h (__shared_ptr::_M_enable_shared_from_this_with): Change parameters to non-const and then use remove_cv to get unqualified type. * testsuite/20_util/enable_shared_from_this/members/const.cc: Don't cast away constness on object created const. * testsuite/20_util/shared_ptr/cons/80229.cc: New test. From-SVN: r246520
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions