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

--- Comment #1 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:2dbe2801df3010c5549a3ca958194aa77737122d

commit r13-2320-g2dbe2801df3010c5549a3ca958194aa77737122d
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Wed Aug 31 20:36:23 2022 +0100

    testsuite: Fix warning regression due to std::string changes [PR106795]

    std::string now has [[nodiscard]] attributes on most members, causing
    -Wunused-result warnings for this test.

    gcc/testsuite/ChangeLog:

            PR testsuite/106795
            * g++.dg/tree-ssa/empty-loop.C: Use -Wno-unused-result.

Reply via email to