From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1CD353857828; Mon, 28 Dec 2020 07:31:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1CD353857828 From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/98459] New: [11 Regression] ICE in linemap_position_for_line_and_column, at libcpp/line-map.c:923 Date: Mon, 28 Dec 2020 07:31:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: asolokha at gmx dot com 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 keywords 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 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, 28 Dec 2020 07:31:48 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98459 Bug ID: 98459 Summary: [11 Regression] ICE in linemap_position_for_line_and_column, at libcpp/line-map.c:923 Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- g++-11.0.0-alpha20201227 snapshot (g:9a48892bea70a1e6a82e24b882f22807b73deb= e7) ICEs when compiling gcc/testsuite/gcc.dg/pr89410-1.c: % g++-11.0.0 -w -c gcc/testsuite/gcc.dg/pr89410-1.c gcc/testsuite/gcc.dg/pr89410-1.c:1:1: internal compiler error: in linemap_position_for_line_and_column, at libcpp/line-map.c:923 1 | /* { dg-options "" } */ | ^ 0x1cc81aa linemap_position_for_line_and_column(line_maps*, line_map_ordinary const*, unsigned int, unsigned int) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201227/work/gcc-11-20201227/li= bcpp/line-map.c:923 0x1cc9ac1 linemap_position_for_loc_and_offset(line_maps*, unsigned int, unsigned int) =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201227/work/gcc-11-20201227/li= bcpp/line-map.c:998 0xa6ce53 cp_lexer_new_main =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201227/work/gcc-11-20201227/gc= c/cp/parser.c:676 0xa6ce53 c_parse_file() =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201227/work/gcc-11-20201227/gc= c/cp/parser.c:45114 0xb93b2d c_common_parse_file() =20=20=20=20=20=20=20 /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201227/work/gcc-11-20201227/gc= c/c-family/c-opts.c:1211=