public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99240] New: internal compiler error: in get_merge_kind, at cp/module.cc:10169
@ 2021-02-24  8:39 alexander.lelyakin at googlemail dot com
  2021-02-28 18:49 ` [Bug c++/99240] [modules] ICE " 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-24  8:39 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99240
           Summary: internal compiler error: in get_merge_kind, at
                    cp/module.cc:10169
           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 array
g++ -std=c++20 -fmodules-ts -x c++-system-header istream
g++ -std=c++20 -fmodules-ts -x c++-system-header compare
g++ -std=c++20 -fmodules-ts -x c++-system-header thread
-----
/usr/local/include/c++/11.0.0/thread: internal compiler error: in
get_merge_kind, at cp/module.cc:10169
0x6dcd5f trees_out::get_merge_kind(tree_node*, depset*)
        ../../gcc/gcc/cp/module.cc:10169
0xa5a163 trees_out::decl_value(tree_node*, depset*)
        ../../gcc/gcc/cp/module.cc:7629
0xa5b0bb trees_out::decl_node(tree_node*, walk_kind)
        ../../gcc/gcc/cp/module.cc:8624
0xa5c0b2 trees_out::tree_node(tree_node*)
        ../../gcc/gcc/cp/module.cc:9179
0xa61a03 module_state::write_pendings(elf_out*, vec<depset*, va_heap, vl_ptr>,
depset::hash&, unsigned int, unsigned int*)
        ../../gcc/gcc/cp/module.cc:15414
0xa63230 module_state::write(elf_out*, cpp_reader*)
        ../../gcc/gcc/cp/module.cc:17759
0xa638fc finish_module_processing(cpp_reader*)
        ../../gcc/gcc/cp/module.cc:19860
0x9f72cb c_parse_final_cleanups()
        ../../gcc/gcc/cp/decl2.c:5175
-----
g++ (GCC) 11.0.0 20210223 (experimental)

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

* [Bug c++/99240] [modules] ICE in get_merge_kind, at cp/module.cc:10169
  2021-02-24  8:39 [Bug c++/99240] New: internal compiler error: in get_merge_kind, at cp/module.cc:10169 alexander.lelyakin at googlemail dot com
@ 2021-02-28 18:49 ` alexander.lelyakin at googlemail dot com
  2021-03-12 12:06 ` alexander.lelyakin at googlemail dot com
  2021-03-12 13:10 ` nathan at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: alexander.lelyakin at googlemail dot com @ 2021-02-28 18:49 UTC (permalink / raw)
  To: gcc-bugs

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

--- 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 cmath
g++ -std=c++20 -fmodules-ts -x c++-system-header random
----
/usr/local/include/c++/11.0.1/random: internal compiler error: in
get_merge_kind, at cp/module.cc:10171
0x6dccf5 trees_out::get_merge_kind(tree_node*, depset*)
        ../../gcc/gcc/cp/module.cc:10171
0xa5a753 trees_out::decl_value(tree_node*, depset*)
        ../../gcc/gcc/cp/module.cc:7631
0xa5b6ab trees_out::decl_node(tree_node*, walk_kind)
        ../../gcc/gcc/cp/module.cc:8626
0xa5c6a2 trees_out::tree_node(tree_node*)
        ../../gcc/gcc/cp/module.cc:9181
0xa61ff3 module_state::write_pendings(elf_out*, vec<depset*, va_heap, vl_ptr>,
depset::hash&, unsigned int, unsigned int*)
        ../../gcc/gcc/cp/module.cc:15419
0xa639f4 module_state::write(elf_out*, cpp_reader*)
        ../../gcc/gcc/cp/module.cc:17810
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)
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++/99240] [modules] ICE in get_merge_kind, at cp/module.cc:10169
  2021-02-24  8:39 [Bug c++/99240] New: internal compiler error: in get_merge_kind, at cp/module.cc:10169 alexander.lelyakin at googlemail dot com
  2021-02-28 18:49 ` [Bug c++/99240] [modules] ICE " alexander.lelyakin at googlemail dot com
@ 2021-03-12 12:06 ` alexander.lelyakin at googlemail dot com
  2021-03-12 13:10 ` nathan at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: alexander.lelyakin at googlemail dot com @ 2021-03-12 12:06 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Alexander Lelyakin <alexander.lelyakin at googlemail dot com> ---
Not seen anymore  in version 20210311.

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

* [Bug c++/99240] [modules] ICE in get_merge_kind, at cp/module.cc:10169
  2021-02-24  8:39 [Bug c++/99240] New: internal compiler error: in get_merge_kind, at cp/module.cc:10169 alexander.lelyakin at googlemail dot com
  2021-02-28 18:49 ` [Bug c++/99240] [modules] ICE " alexander.lelyakin at googlemail dot com
  2021-03-12 12:06 ` alexander.lelyakin at googlemail dot com
@ 2021-03-12 13:10 ` nathan at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: nathan at gcc dot gnu.org @ 2021-03-12 13:10 UTC (permalink / raw)
  To: gcc-bugs

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

Nathan Sidwell <nathan at gcc dot gnu.org> changed:

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

--- Comment #3 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
thanks, closing as a duplicate.

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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-24  8:39 [Bug c++/99240] New: internal compiler error: in get_merge_kind, at cp/module.cc:10169 alexander.lelyakin at googlemail dot com
2021-02-28 18:49 ` [Bug c++/99240] [modules] ICE " alexander.lelyakin at googlemail dot com
2021-03-12 12:06 ` alexander.lelyakin at googlemail dot com
2021-03-12 13:10 ` nathan 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).