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

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

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

commit r17-3587-gc8e065ed391115f763af09004f593a3db1fa5514
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.

Reply via email to