[Bug libstdc++/61946] [4.8/4.9/4.10 Regression] rope construction, passing allocator referenct without const

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jul 29 17:31:00 GMT 2014


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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Tue Jul 29 17:30:25 2014
New Revision: 213220

URL: https://gcc.gnu.org/viewcvs?rev=213220&root=gcc&view=rev
Log:
    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:
    trunk/libstdc++-v3/testsuite/ext/rope/61946.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/ext/rope



More information about the Gcc-bugs mailing list