From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8E6BA3858437; Tue, 11 Oct 2022 06:35:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8E6BA3858437 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665470157; bh=SdycNadUhIq4SehTsbrFT7Z0zCBpqc4t0vD69wK3rTA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jz065HrK5Un6Ubz0eJKcJoHRT/MC4p2nloIrOnpmtu9oK8Ixw7pSRdcy20gKVOdr5 meYn8U/iS1GAqVleh1YCAwPX7GTspjunYWQJFWBMvUdCpIj48WZlgKHtMhHGRRhybd K4lgM6YuhIZqbnYU/szzUotXNI4SZUE1/t33o2hQ= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/107193] [13 regression] bootstrap error caused by r13-3172-gf30e9fd33e56a5 Date: Tue, 11 Oct 2022 06:35:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: build, GC, ice-on-valid-code X-Bugzilla-Severity: blocker X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 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=3D107193 --- Comment #9 from CVS Commits --- The master branch has been updated by Eugene Rozenfeld : https://gcc.gnu.org/g:80f414e6d73f9f1683f93d83ce63a6a482e54bee commit r13-3213-g80f414e6d73f9f1683f93d83ce63a6a482e54bee Author: Eugene Rozenfeld Date: Mon Oct 10 14:10:31 2022 -0700 Fix PR107193. The bug was introduced in f30e9fd33e56a5a721346ea6140722e1b193db42. A variable (cur_locus_e) was incorrectly declared inside a loop. I also moved two other declarations (last and locus) down to make the code more clear. Tested on x86_64-pc-linux-gnu. gcc/ChangeLog: PR debug/107193 * tree-cfg.cc (assign_discriminators): Move declaration of cur_locus_e out of the loop.=