public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "seurer at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/106795] New: [13 regression] g++.dg/tree-ssa/empty-loop.C fails with excess errors after r13-2303-gb911ca4231a366 Date: Wed, 31 Aug 2022 16:44:40 +0000 [thread overview] Message-ID: <bug-106795-4@http.gcc.gnu.org/bugzilla/> (raw) 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>
next reply other threads:[~2022-08-31 16:44 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-08-31 16:44 seurer at gcc dot gnu.org [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-106795-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).