public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/99446] New: [11 Regression] ICE in linemap_position_for_loc_and_offset, at libcpp/line-map.c:1005
@ 2021-03-07 10:27 doko at debian dot org
  2021-03-08  8:44 ` [Bug preprocessor/99446] " marxin at gcc dot gnu.org
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: doko at debian dot org @ 2021-03-07 10:27 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99446

            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=50323&action=edit
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_lucet_sandbox'
config/external/rlbox_lucet_sandbox/rlbox_lucet_thread_locals.o
/usr/bin/g++ -o rlbox_lucet_thread_locals.o -c 
-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=2 -fstack-protector-strong -DNDEBUG=1
-DTRIMMED=1 -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_lucet_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-time
-D_FORTIFY_SOURCE=2 -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=maybe-uninitialized -Wno-error=deprecated-declarations
-Wno-error=array-bounds -Wno-error=coverage-mismatch
-Wno-error=free-nonheap-object -Wno-multistatement-macros
-Wno-error=class-memaccess -Wno-error=deprecated-copy -Wformat
-Wformat-overflow=2 -fno-sized-deallocation -fno-aligned-new -O2
-ffile-prefix-map=/packages/tmp/firefox-esr-78.8.0esr=.
-fstack-protector-strong -Wformat -Werror=format-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  
/packages/tmp/firefox-esr-78.8.0esr/config/external/rlbox_lucet_sandbox/rlbox_lucet_thread_locals.cpp
/packages/tmp/firefox-esr-78.8.0esr/config/external/rlbox_lucet_sandbox/rlbox_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-offset:
2 -*- */
      | 
0x656a93 linemap_position_for_loc_and_offset(line_maps*, unsigned int, unsigned
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.

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2021-04-18 12:44 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-07 10:27 [Bug preprocessor/99446] New: [11 Regression] ICE in linemap_position_for_loc_and_offset, at libcpp/line-map.c:1005 doko at debian dot org
2021-03-08  8:44 ` [Bug preprocessor/99446] " marxin at gcc dot gnu.org
2021-03-08  8:58 ` rguenth at gcc dot gnu.org
2021-03-17 11:51 ` sbergman at redhat dot com
2021-03-17 15:33 ` sbergman at redhat dot com
2021-04-08 13:02 ` rguenth at gcc dot gnu.org
2021-04-08 13:03 ` rguenth at gcc dot gnu.org
2021-04-08 13:05 ` rguenth at gcc dot gnu.org
2021-04-08 13:20 ` [Bug preprocessor/99446] [11 Regression] ICE in linemap_position_for_loc_and_offset, at libcpp/line-map.c:1005 since r11-6325 jakub at gcc dot gnu.org
2021-04-12 10:11 ` bernd.edlinger at hotmail dot de
2021-04-12 13:16 ` nathan at gcc dot gnu.org
2021-04-12 13:46 ` bernd.edlinger at hotmail dot de
2021-04-12 14:11 ` nathan at gcc dot gnu.org
2021-04-13 12:07 ` cvs-commit at gcc dot gnu.org
2021-04-13 12:08 ` nathan at gcc dot gnu.org
2021-04-18 12:44 ` bernd.edlinger at hotmail dot de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).