[Bug testsuite/106795] [13 regression] g++.dg/tree-ssa/empty-loop.C fails with excess errors after r13-2303-gb911ca4231a366
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Aug 31 20:10:24 GMT 2022
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 <redi@gcc.gnu.org>:
https://gcc.gnu.org/g:2dbe2801df3010c5549a3ca958194aa77737122d
commit r13-2320-g2dbe2801df3010c5549a3ca958194aa77737122d
Author: Jonathan Wakely <jwakely@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.
More information about the Gcc-bugs
mailing list