From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 534B2394800A; Mon, 19 Apr 2021 07:24:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 534B2394800A From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/100142] [11 Regression] ICE in linemap_position_for_loc_and_offset, at libcpp/line-map.c:1004 Date: Mon, 19 Apr 2021 07:24:40 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: 11.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords everconfirmed target_milestone cf_reconfirmed_on bug_status priority 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2021 07:24:40 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100142 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Ever confirmed|0 |1 Target Milestone|--- |11.0 Last reconfirmed| |2021-04-19 Status|UNCONFIRMED |NEW Priority|P3 |P1 --- Comment #1 from Richard Biener --- Confirmed. Seems to be a quite recent regression. 1001 location_t r =3D=20 1002 linemap_position_for_line_and_column (set, map, line, column); 1003 if (linemap_assert_fails (r <=3D set->highest_location) 1004 || linemap_assert_fails (map =3D=3D linemap_lookup (set, r))) 1005 return loc; the map =3D=3D linemap_lookup (set, r) part fails.=