public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99284] New: [modules] ICE in key_mergeable, at cp/module.cc:10441
@ 2021-02-26  8:53 alexander.lelyakin at googlemail dot com
  2021-02-28 18:52 ` [Bug c++/99284] " 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-02-26  8:53 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99284
           Summary: [modules] ICE in key_mergeable, at cp/module.cc:10441
           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: ---

g++ -std=c++20 -fmodules-ts -x c++-system-header thread
g++ -std=c++20 -fmodules-ts -x c++-system-header cerrno
g++ -std=c++20 -fmodules-ts -x c++-system-header ostream
g++ -std=c++20 -fmodules-ts -x c++-system-header cwchar
g++ -std=c++20 -fmodules-ts -x c++-system-header regex
----
/usr/local/include/c++/11.0.1/regex: internal compiler error: in key_mergeable,
at cp/module.cc:10441
0x6e22aa trees_out::key_mergeable(int, merge_kind, tree_node*, tree_node*,
tree_node*, depset*)
        ../../gcc/gcc/cp/module.cc:10441
0xa5a401 trees_out::decl_value(tree_node*, depset*)
        ../../gcc/gcc/cp/module.cc:7769
0xa620d3 depset::hash::find_dependencies(module_state*)
        ../../gcc/gcc/cp/module.cc:13237
0xa62738 module_state::write(elf_out*, cpp_reader*)
        ../../gcc/gcc/cp/module.cc:17652
0xa63bbc finish_module_processing(cpp_reader*)
        ../../gcc/gcc/cp/module.cc:19920
0x9f730b c_parse_final_cleanups()
        ../../gcc/gcc/cp/decl2.c:5175
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 20210225 (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.

----

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

* [Bug c++/99284] [modules] ICE in key_mergeable, at cp/module.cc:10441
  2021-02-26  8:53 [Bug c++/99284] New: [modules] ICE in key_mergeable, at cp/module.cc:10441 alexander.lelyakin at googlemail dot com
@ 2021-02-28 18:52 ` alexander.lelyakin at googlemail dot com
  2021-03-31  5:16 ` alexander.lelyakin at googlemail dot com
  2021-03-31 13:36 ` mpolacek at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: alexander.lelyakin at googlemail dot com @ 2021-02-28 18:52 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Alexander Lelyakin <alexander.lelyakin at googlemail dot com> ---
There is a shorter sequence:

g++ -std=c++20 -fmodules-ts -x c++-system-header unordered_map
g++ -std=c++20 -fmodules-ts -x c++-system-header regex
----
/usr/local/include/c++/11.0.1/regex: internal compiler error: in key_mergeable,
at cp/module.cc:10456
0x6e1dd9 trees_out::key_mergeable(int, merge_kind, tree_node*, tree_node*,
tree_node*, depset*)
        ../../gcc/gcc/cp/module.cc:10456
0xa5a8f1 trees_out::decl_value(tree_node*, depset*)
        ../../gcc/gcc/cp/module.cc:7769
0xa625c3 depset::hash::find_dependencies(module_state*)
        ../../gcc/gcc/cp/module.cc:13237
0xa62c28 module_state::write(elf_out*, cpp_reader*)
        ../../gcc/gcc/cp/module.cc:17652
0xa640cf finish_module_processing(cpp_reader*)
        ../../gcc/gcc/cp/module.cc:19922
0x9f776b c_parse_final_cleanups()
        ../../gcc/gcc/cp/decl2.c:5175
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 20210228 (experimental)

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

* [Bug c++/99284] [modules] ICE in key_mergeable, at cp/module.cc:10441
  2021-02-26  8:53 [Bug c++/99284] New: [modules] ICE in key_mergeable, at cp/module.cc:10441 alexander.lelyakin at googlemail dot com
  2021-02-28 18:52 ` [Bug c++/99284] " alexander.lelyakin at googlemail dot com
@ 2021-03-31  5:16 ` alexander.lelyakin at googlemail dot com
  2021-03-31 13:36 ` mpolacek at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: alexander.lelyakin at googlemail dot com @ 2021-03-31  5:16 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Alexander Lelyakin <alexander.lelyakin at googlemail dot com> ---
Not reproduced anymore.

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

* [Bug c++/99284] [modules] ICE in key_mergeable, at cp/module.cc:10441
  2021-02-26  8:53 [Bug c++/99284] New: [modules] ICE in key_mergeable, at cp/module.cc:10441 alexander.lelyakin at googlemail dot com
  2021-02-28 18:52 ` [Bug c++/99284] " alexander.lelyakin at googlemail dot com
  2021-03-31  5:16 ` alexander.lelyakin at googlemail dot com
@ 2021-03-31 13:36 ` mpolacek at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2021-03-31 13:36 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
                 CC|                            |mpolacek at gcc dot gnu.org
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I also couldn't reproduce anymore.

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

end of thread, other threads:[~2021-03-31 13:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-26  8:53 [Bug c++/99284] New: [modules] ICE in key_mergeable, at cp/module.cc:10441 alexander.lelyakin at googlemail dot com
2021-02-28 18:52 ` [Bug c++/99284] " alexander.lelyakin at googlemail dot com
2021-03-31  5:16 ` alexander.lelyakin at googlemail dot com
2021-03-31 13:36 ` mpolacek 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).