From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id ABC1E385700D; Sun, 7 Mar 2021 10:27:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ABC1E385700D From: "doko at debian dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/99446] New: [11 Regression] ICE in linemap_position_for_loc_and_offset, at libcpp/line-map.c:1005 Date: Sun, 07 Mar 2021 10:27:08 +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: X-Bugzilla-Severity: normal X-Bugzilla-Who: doko at debian dot org 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 bug_severity priority component assigned_to reporter target_milestone attachments.created 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: Sun, 07 Mar 2021 10:27:08 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99446 Bug ID: 99446 Summary: [11 Regression] ICE in linemap_position_for_loc_and_offset, at libcpp/line-map.c:1005 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: doko at debian dot org Target Milestone: --- Created attachment 50323 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D50323&action=3Dedit preprocessed source seen building the firefox-esr 78.8.0 package, using trunk 20210306. I have a compiler-generated ICE report, however even trying to re-run the command doesn't always generates the ICE report. make[3]: Entering directory '/packages/tmp/firefox-esr-78.8.0esr/build-browser/config/external/rlbox_lu= cet_sandbox' config/external/rlbox_lucet_sandbox/rlbox_lucet_thread_locals.o /usr/bin/g++ -o rlbox_lucet_thread_locals.o -c=20 -I/packages/tmp/firefox-esr-78.8.0esr/build-browser/dist/stl_wrappers -I/packages/tmp/firefox-esr-78.8.0esr/build-browser/dist/system_wrappers -include /packages/tmp/firefox-esr-78.8.0esr/config/gcc_hidden.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3D2 -fstack-protector-strong -DNDEBUG= =3D1 -DTRIMMED=3D1 -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DSTATIC_EXPORTABLE_JS_API -I/packages/tmp/firefox-esr-78.8.0esr/config/external/rlbox_lucet_sandbox -I/packages/tmp/firefox-esr-78.8.0esr/build-browser/config/external/rlbox_l= ucet_sandbox -I/packages/tmp/firefox-esr-78.8.0esr/build-browser/dist/include -I/usr/include/nspr -I/usr/include/nss -I/usr/include/nspr -I/packages/tmp/firefox-esr-78.8.0esr/build-browser/dist/include/nss -fPIC -DMOZILLA_CLIENT -include /packages/tmp/firefox-esr-78.8.0esr/build-browser/mozilla-config.h -Wdate-t= ime -D_FORTIFY_SOURCE=3D2 -Wall -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++2a-compat -Wduplicated-cond -Wimplicit-fallthrough -Wunused-function -Wunused-variable -Wno-error=3Dmaybe-uninitialized -Wno-error=3Ddeprecated-declarations -Wno-error=3Darray-bounds -Wno-error=3Dcoverage-mismatch -Wno-error=3Dfree-nonheap-object -Wno-multistatement-macros -Wno-error=3Dclass-memaccess -Wno-error=3Ddeprecated-copy -Wformat -Wformat-overflow=3D2 -fno-sized-deallocation -fno-aligned-new -O2 -ffile-prefix-map=3D/packages/tmp/firefox-esr-78.8.0esr=3D. -fstack-protector-strong -Wformat -Werror=3Dformat-security -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -g -freorder-blocks -O2 -fomit-frame-pointer -funwind-tables -MD -MP -MF .deps/rlbox_lucet_thread_locals.o.pp=20=20 /packages/tmp/firefox-esr-78.8.0esr/config/external/rlbox_lucet_sandbox/rlb= ox_lucet_thread_locals.cpp /packages/tmp/firefox-esr-78.8.0esr/config/external/rlbox_lucet_sandbox/rlb= ox_lucet_thread_locals.cpp:1: internal compiler error: in linemap_position_for_loc_and_offset, at libcpp/line-map.c:1005 1 | /* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-off= set: 2 -*- */ |=20 0x656a93 linemap_position_for_loc_and_offset(line_maps*, unsigned int, unsi= gned int) ../libcpp/../../src/libcpp/line-map.c:1005 0x18ebee1 cp_lexer_new_main ../../src/gcc/cp/parser.c:676 0x18ebee1 c_parse_file() ../../src/gcc/cp/parser.c:45227 0x18d4aba c_common_parse_file() ../../src/gcc/c-family/c-opts.c:1218 Please submit a full bug report, with preprocessed source if appropriate.=