This is the mail archive of the gcc-bugs@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]

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


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

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Mon Aug  4 22:16:44 2014
New Revision: 213611

URL: https://gcc.gnu.org/viewcvs?rev=213611&root=gcc&view=rev
Log:
Backported from mainline
2014-07-29  Jonathan Wakely  <jwakely@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_8-branch/libstdc++-v3/testsuite/ext/rope/61946.cc
Modified:
    branches/gcc-4_8-branch/libstdc++-v3/ChangeLog
    branches/gcc-4_8-branch/libstdc++-v3/include/ext/rope


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