https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61946
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Mon Aug 4 22:31:51 2014 New Revision: 213612 URL: https://gcc.gnu.org/viewcvs?rev=213612&root=gcc&view=rev Log: Backported from mainline 2014-07-29 Jonathan Wakely <jwak...@redhat.com> PR libstdc++/61946 * include/ext/rope (rope::rope(char_producer<_CharT>*, size_t, bool, const allocator_type&)): Pass non-const allocator to _S_new_RopeFunction. * testsuite/ext/rope/61946.cc: New. Added: branches/gcc-4_9-branch/libstdc++-v3/testsuite/ext/rope/61946.cc Modified: branches/gcc-4_9-branch/libstdc++-v3/ChangeLog branches/gcc-4_9-branch/libstdc++-v3/include/ext/rope