public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/106795] New: [13 regression] g++.dg/tree-ssa/empty-loop.C fails with excess errors after r13-2303-gb911ca4231a366
@ 2022-08-31 16:44 seurer at gcc dot gnu.org
2022-08-31 19:10 ` [Bug testsuite/106795] " redi at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: seurer at gcc dot gnu.org @ 2022-08-31 16:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106795
Bug ID: 106795
Summary: [13 regression] g++.dg/tree-ssa/empty-loop.C fails
with excess errors after r13-2303-gb911ca4231a366
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
Assignee: unassigned at gcc dot gnu.org
Reporter: seurer at gcc dot gnu.org
Target Milestone: ---
g:b911ca4231a366ddfd026f190b126bd517f4e640, r13-2303-gb911ca4231a366
make -k check-gcc RUNTESTFLAGS="dg.exp=g++.dg/tree-ssa/empty-loop.C"
FAIL: g++.dg/tree-ssa/empty-loop.C -std=gnu++17 (test for excess errors)
FAIL: g++.dg/tree-ssa/empty-loop.C -std=gnu++20 (test for excess errors)
# of expected passes 6
# of unexpected failures 2
Did this test case get missed in the updates?
FAIL: g++.dg/tree-ssa/empty-loop.C -std=gnu++20 (test for excess errors)
Excess errors:
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/tree-ssa/empty-loop.C:15:15:
warning: ignoring return value of 'constexpr std::__cxx11::basic_string<_CharT,
_Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits,
_Alloc>::length() const [with _CharT = char; _Traits = std::char_traits<char>;
_Alloc = std::allocator<char>; size_type = long unsigned int]', declared with
attribute 'nodiscard' [-Wunused-result]
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/tree-ssa/empty-loop.C:18:15:
warning: ignoring return value of 'constexpr std::__cxx11::basic_string<_CharT,
_Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits,
_Alloc>::length() const [with _CharT = char; _Traits = std::char_traits<char>;
_Alloc = std::allocator<char>; size_type = long unsigned int]', declared with
attribute 'nodiscard' [-Wunused-result]
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/tree-ssa/empty-loop.C:26:20:
warning: ignoring return value of 'constexpr std::__cxx11::basic_string<_CharT,
_Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits,
_Alloc>::length() const [with _CharT = char; _Traits = std::char_traits<char>;
_Alloc = std::allocator<char>; size_type = long unsigned int]', declared with
attribute 'nodiscard' [-Wunused-result]
/home/seurer/gcc/git/gcc-test/gcc/testsuite/g++.dg/tree-ssa/empty-loop.C:27:20:
warning: ignoring return value of 'constexpr std::__cxx11::basic_string<_CharT,
_Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits,
_Alloc>::length() const [with _CharT = char; _Traits = std::char_traits<char>;
_Alloc = std::allocator<char>; size_type = long unsigned int]', declared with
attribute 'nodiscard' [-Wunused-result]
commit b911ca4231a366ddfd026f190b126bd517f4e640 (HEAD, refs/bisect/bad)
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Fri Aug 26 16:22:21 2022 +0100
libstdc++: Add [[nodiscard]] attribute to <string> and <string_view>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug testsuite/106795] [13 regression] g++.dg/tree-ssa/empty-loop.C fails with excess errors after r13-2303-gb911ca4231a366
2022-08-31 16:44 [Bug testsuite/106795] New: [13 regression] g++.dg/tree-ssa/empty-loop.C fails with excess errors after r13-2303-gb911ca4231a366 seurer at gcc dot gnu.org
@ 2022-08-31 19:10 ` redi at gcc dot gnu.org
2022-08-31 20:10 ` cvs-commit at gcc dot gnu.org
2022-08-31 20:11 ` redi at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: redi at gcc dot gnu.org @ 2022-08-31 19:10 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106795
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0 |1
Last reconfirmed| |2022-08-31
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug testsuite/106795] [13 regression] g++.dg/tree-ssa/empty-loop.C fails with excess errors after r13-2303-gb911ca4231a366
2022-08-31 16:44 [Bug testsuite/106795] New: [13 regression] g++.dg/tree-ssa/empty-loop.C fails with excess errors after r13-2303-gb911ca4231a366 seurer at gcc dot gnu.org
2022-08-31 19:10 ` [Bug testsuite/106795] " redi at gcc dot gnu.org
@ 2022-08-31 20:10 ` cvs-commit at gcc dot gnu.org
2022-08-31 20:11 ` redi at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-08-31 20:10 UTC (permalink / raw)
To: gcc-bugs
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug testsuite/106795] [13 regression] g++.dg/tree-ssa/empty-loop.C fails with excess errors after r13-2303-gb911ca4231a366
2022-08-31 16:44 [Bug testsuite/106795] New: [13 regression] g++.dg/tree-ssa/empty-loop.C fails with excess errors after r13-2303-gb911ca4231a366 seurer at gcc dot gnu.org
2022-08-31 19:10 ` [Bug testsuite/106795] " redi at gcc dot gnu.org
2022-08-31 20:10 ` cvs-commit at gcc dot gnu.org
@ 2022-08-31 20:11 ` redi at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: redi at gcc dot gnu.org @ 2022-08-31 20:11 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106795
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed now, sorry about that.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-08-31 20:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-31 16:44 [Bug testsuite/106795] New: [13 regression] g++.dg/tree-ssa/empty-loop.C fails with excess errors after r13-2303-gb911ca4231a366 seurer at gcc dot gnu.org
2022-08-31 19:10 ` [Bug testsuite/106795] " redi at gcc dot gnu.org
2022-08-31 20:10 ` cvs-commit at gcc dot gnu.org
2022-08-31 20:11 ` redi at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).