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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>:

https://gcc.gnu.org/g:23725aa53bd264941c4fb228227736be4da59761

commit r14-5536-g23725aa53bd264941c4fb228227736be4da59761
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Thu Nov 16 16:11:18 2023 +0000

    libstdc++: Fix aligned formatting of stacktrace_entry and thread::id
[PR112564]

    The formatter for std::thread::id should default to right-align, and the
    formatter for std::stacktrace_entry should not just ignore the
    fill-and-align and width from the format-spec!

    libstdc++-v3/ChangeLog:

            PR libstdc++/112564
            * include/std/stacktrace (formatter::format): Format according
            to format-spec.
            * include/std/thread (formatter::format): Use _Align_right as
            default.
            * testsuite/19_diagnostics/stacktrace/output.cc: Check
            fill-and-align handling. Change compile test to run.
            * testsuite/30_threads/thread/id/output.cc: Check fill-and-align
            handling.

Reply via email to