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

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

https://gcc.gnu.org/g:f680b40948a2f255f5882b07994ba92052c630a8

commit r15-11506-gf680b40948a2f255f5882b07994ba92052c630a8
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