From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E3DDB3857BAC; Mon, 10 Oct 2022 23:00:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E3DDB3857BAC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665442841; bh=ox/wcx6dkpUII7pz3g71w95jy/hgdzzGep0PjViC1x4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=drj1toVwhMONA3/JvCKQnarABGrJaY7tmhS0KDZIDlGq8Pia1YfB1DblfPIP5WZ6b gJAafDY8SqoV3+jeShHsyo+IDt3dFRhpvbmEusQPAc6/NILGXywvNm7IoKgeINA8eg ruL++VDry/+dOz+dFAiD6stSj+ddY6r8TsQvOeew= From: "erozen at microsoft dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/107193] [13 regression] bootstrap error caused by r13-3172-gf30e9fd33e56a5 Date: Mon, 10 Oct 2022 23:00:41 +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: erozen at microsoft dot com 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 #7 from Eugene Rozenfeld --- No, locus won't be changed by the loop. But the purpose of the loop is to change statement locations (by adding discriminators) in this line: gimple_set_location (stmt, dloc); I think the code would more clear if this line location_t locus =3D last ? gimple_location (last) : UNKNOWN_LOCATION; were moved to after the loop. I'll include that change in the patch.=