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

--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Jonathan Wakely
<[email protected]>:

https://gcc.gnu.org/g:7a87fb2a20e31c34d05abdb3a51b9691b34ffbc8

commit r13-10482-g7a87fb2a20e31c34d05abdb3a51b9691b34ffbc8
Author: Jonathan Wakely <[email protected]>
Date:   Mon Aug 24 11:21:49 2026 +0100

    libstdc++: Fix openmode for ospanstream's spanbuf [PR127006]

    The basic_ospanstream constructor is supposed to ensure that the
    basic_spanbuf is opened for output. I made a copy & paste error from the
    basic_ispanstream constructor.

    libstdc++-v3/ChangeLog:

            PR libstdc++/127006
            * include/std/spanstream (basic_ospanstream(span, openmode)):
            Add correct openmode value to parameter.
            * testsuite/27_io/spanstream/127006.cc: New test.

    (cherry picked from commit c8e065ed391115f763af09004f593a3db1fa5514)

Reply via email to