From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8D63E3858D39; Wed, 31 Aug 2022 16:44:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8D63E3858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1661964280; bh=eewS1UMQvOQVLhwLpOrxTRKb0RUUG6OqCdvr2VK8WSw=; h=From:To:Subject:Date:From; b=gd/hHy7/2cz2ASXn9uAgktBNVszgpkuqxUjg3nx2aT54qOu/bsaDuidnBkjjQfCy0 TQ6u/ghP+ZkoF6m7nlu2CrNtzmlQyd8GBw7K/yu1APlPQx1k3YO6naq6BVG4xrn2GZ MQteqjmpX/9JbMfxIEUH+uezfyjTSvWMaCOcNmYk= From: "seurer at gcc dot 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 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106795 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=3D"dg.exp=3Dg++.dg/tree-ssa/empty-loop.C" FAIL: g++.dg/tree-ssa/empty-loop.C -std=3Dgnu++17 (test for excess errors) FAIL: g++.dg/tree-ssa/empty-loop.C -std=3Dgnu++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=3Dgnu++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<_Ch= arT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::length() const [with _CharT =3D char; _Traits =3D std::char_traits= ; _Alloc =3D std::allocator; size_type =3D long unsigned int]', declare= d 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<_Ch= arT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::length() const [with _CharT =3D char; _Traits =3D std::char_traits= ; _Alloc =3D std::allocator; size_type =3D long unsigned int]', declare= d 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<_Ch= arT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::length() const [with _CharT =3D char; _Traits =3D std::char_traits= ; _Alloc =3D std::allocator; size_type =3D long unsigned int]', declare= d 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<_Ch= arT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::length() const [with _CharT =3D char; _Traits =3D std::char_traits= ; _Alloc =3D std::allocator; size_type =3D long unsigned int]', declare= d with attribute 'nodiscard' [-Wunused-result] commit b911ca4231a366ddfd026f190b126bd517f4e640 (HEAD, refs/bisect/bad) Author: Jonathan Wakely Date: Fri Aug 26 16:22:21 2022 +0100 libstdc++: Add [[nodiscard]] attribute to and =