From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A94613959C72; Tue, 6 Dec 2022 07:24:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A94613959C72 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1670311455; bh=0EeKwJbmIaKHQ8IYBXGYXKZzSfiECnZAfFcK2M7q/v4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=X8zLwjfzYy4kwRs7mJANeOvcgVAHs0i2YLp5nK/OIMchfRCzIdUQkv+oCF6LYpkhI Afv+fLLkZU561MAxHSBuPIls2SbfY8AqGjWeD+dZ/XEhtIbeG7eJx5Q5bp5VvCyxa6 1LXspknFx+7p0NlyM8IfwR+vBsCkuQoYj7An/iuc= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/104165] [12 Regression] -Warray-bounds for unreachable code inlined from std::sort() Date: Tue, 06 Dec 2022 07:24:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: diagnostic, missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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=3D104165 --- Comment #7 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:790ff87f675f28bce5e7e35918ae09c3ece4ec4d commit r13-4499-g790ff87f675f28bce5e7e35918ae09c3ece4ec4d Author: Richard Biener Date: Tue Dec 6 08:22:01 2022 +0100 tree-optimization/104165 - bougs -Warray-bounds, add testcase The following adds the testcase from the description which was fixed by r13-2894-gbe4a6551ed37c1. PR tree-optimization/104165 * g++.dg/warn/Warray-bounds-pr104165-1.C: New testcase.=