public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99722] New: [modules] internal compiler error: segmentation fault
@ 2021-03-23  8:31 alexander.lelyakin at googlemail dot com
  2021-04-17  6:45 ` [Bug c++/99722] " alexander.lelyakin at googlemail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: alexander.lelyakin at googlemail dot com @ 2021-03-23  8:31 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99722
           Summary: [modules] internal compiler error: segmentation fault
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: alexander.lelyakin at googlemail dot com
  Target Milestone: ---

/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header
condition_variable
/usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header future
----
In file included from /usr/local/include/c++/11.0.1/future:43:
/usr/local/include/c++/11.0.1/bits/atomic_futex.h:82:7: internal compiler
error: Segmentation fault
   82 |     { }
      |       ^
0x110102f crash_signal
        ../../gcc/gcc/toplev.c:327
0xc2cbc9 clear_marks
        ../../gcc/gcc/ggc-page.c:1895
0xc2e19c ggc_collect()
        ../../gcc/gcc/ggc-page.c:2219
0xace681 cp_parser_function_definition_after_declarator
        ../../gcc/gcc/cp/parser.c:30027
0xaceb2c cp_parser_late_parsing_for_member
        ../../gcc/gcc/cp/parser.c:30921
0xaa8df3 cp_parser_class_specifier_1
        ../../gcc/gcc/cp/parser.c:25162
0xaa9d03 cp_parser_class_specifier
        ../../gcc/gcc/cp/parser.c:25186
0xaa9d03 cp_parser_type_specifier
        ../../gcc/gcc/cp/parser.c:18433
0xaaac99 cp_parser_decl_specifier_seq
        ../../gcc/gcc/cp/parser.c:15055
0xad5886 cp_parser_single_declaration
        ../../gcc/gcc/cp/parser.c:30419
0xad5c06 cp_parser_template_declaration_after_parameters
        ../../gcc/gcc/cp/parser.c:30082
0xad63b0 cp_parser_explicit_template_declaration
        ../../gcc/gcc/cp/parser.c:30348
0xad8ad9 cp_parser_declaration
        ../../gcc/gcc/cp/parser.c:14061
0xad80a9 cp_parser_toplevel_declaration
        ../../gcc/gcc/cp/parser.c:14159
0xad80a9 cp_parser_declaration_seq_opt
        ../../gcc/gcc/cp/parser.c:13947
0xad8542 cp_parser_namespace_body
        ../../gcc/gcc/cp/parser.c:20447
0xad8542 cp_parser_namespace_definition
        ../../gcc/gcc/cp/parser.c:20425
0xad8c98 cp_parser_declaration
        ../../gcc/gcc/cp/parser.c:14110
0xad94ec cp_parser_toplevel_declaration
        ../../gcc/gcc/cp/parser.c:14159
0xad94ec cp_parser_translation_unit
        ../../gcc/gcc/cp/parser.c:4942
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
----
g++ (GCC) 11.0.1 20210323 (experimental)
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
---
gcc at commit: 441e1980cea7265c340868468cd63ea8c046ddec

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

* [Bug c++/99722] [modules] internal compiler error: segmentation fault
  2021-03-23  8:31 [Bug c++/99722] New: [modules] internal compiler error: segmentation fault alexander.lelyakin at googlemail dot com
@ 2021-04-17  6:45 ` alexander.lelyakin at googlemail dot com
  2021-12-30 16:12 ` pinskia at gcc dot gnu.org
  2021-12-30 16:12 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: alexander.lelyakin at googlemail dot com @ 2021-04-17  6:45 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Alexander Lelyakin <alexander.lelyakin at googlemail dot com> ---
All so far found examples of such error message 
change its behavior if you add the parameter:
  --param=hash-table-verification-limit=1000

Most of them to the error message: ICE in hashtab_chk_error.

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

* [Bug c++/99722] [modules] internal compiler error: segmentation fault
  2021-03-23  8:31 [Bug c++/99722] New: [modules] internal compiler error: segmentation fault alexander.lelyakin at googlemail dot com
  2021-04-17  6:45 ` [Bug c++/99722] " alexander.lelyakin at googlemail dot com
@ 2021-12-30 16:12 ` pinskia at gcc dot gnu.org
  2021-12-30 16:12 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-30 16:12 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99722
Bug 99722 depends on bug 99861, which changed state.

Bug 99861 Summary: [modules] ICE in hashtab_chk_error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99861

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

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

* [Bug c++/99722] [modules] internal compiler error: segmentation fault
  2021-03-23  8:31 [Bug c++/99722] New: [modules] internal compiler error: segmentation fault alexander.lelyakin at googlemail dot com
  2021-04-17  6:45 ` [Bug c++/99722] " alexander.lelyakin at googlemail dot com
  2021-12-30 16:12 ` pinskia at gcc dot gnu.org
@ 2021-12-30 16:12 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-30 16:12 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 99479.

*** This bug has been marked as a duplicate of bug 99479 ***

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

end of thread, other threads:[~2021-12-30 16:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-23  8:31 [Bug c++/99722] New: [modules] internal compiler error: segmentation fault alexander.lelyakin at googlemail dot com
2021-04-17  6:45 ` [Bug c++/99722] " alexander.lelyakin at googlemail dot com
2021-12-30 16:12 ` pinskia at gcc dot gnu.org
2021-12-30 16:12 ` pinskia at gcc dot gnu.org

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).