[Bug libstdc++/66146] call_once not C++11-compliant on ppc64le

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Dec 17 14:03:43 GMT 2020


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

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

https://gcc.gnu.org/g:9f9dbc8e09cf48406aa24b6c78735f1a7912cc4e

commit r11-6229-g9f9dbc8e09cf48406aa24b6c78735f1a7912cc4e
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Thu Dec 17 13:16:02 2020 +0000

    libstdc++: Fix -Wunused warning

    As noted in PR 66146 comment 35, there is a new warning in the new
    std::call_once implementation.

    libstdc++-v3/ChangeLog:

            * src/c++11/mutex.cc (std::once_flag::_M_finish): Add
            maybe_unused attribute to variable used in assertion.


More information about the Gcc-bugs mailing list