public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99481] New: [modules] ICE tree check: expected template_decl, have function_decl in decl_value, at cp/module.cc:7938
@ 2021-03-09  7:42 alexander.lelyakin at googlemail dot com
  2021-03-12  6:34 ` [Bug c++/99481] " alexander.lelyakin at googlemail dot com
  2021-03-15 12:42 ` nathan at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: alexander.lelyakin at googlemail dot com @ 2021-03-09  7:42 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99481
           Summary: [modules] ICE tree check: expected template_decl, have
                    function_decl in decl_value, at cp/module.cc:7938
           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 functional
g++ -std=c++20 -fmodules-ts -x c++-system-header streambuf
g++ -std=c++20 -fmodules-ts -x c++-system-header execution
----
In file included from /usr/local/include/c++/11.0.1/bits/ranges_algo.h:35,
                 from /usr/local/include/c++/11.0.1/algorithm:64,
                 from /usr/local/include/c++/11.0.1/pstl/algorithm_impl.h:17,
                 from
/usr/local/include/c++/11.0.1/pstl/glue_execution_defs.h:50,
                 from /usr/local/include/c++/11.0.1/execution:32:
/usr/local/include/c++/11.0.1/bits/ranges_algobase.h:55:59: internal compiler
error: tree check: expected template_decl, have function_decl in decl_value, at
cp/module.cc:7938
   55 |                                                           _Container>>
= true;
      |                                                           ^~~~~~~~~~
0x875ba8 tree_check_failed(tree_node const*, char const*, int, char const*,
...)
        ../../gcc/gcc/tree.c:9814
0x6e61c9 tree_check(tree_node*, char const*, int, char const*, tree_code)
        ../../gcc/gcc/tree.h:3353
0x6e61c9 trees_in::decl_value()
        ../../gcc/gcc/cp/module.cc:7938
0xa66d17 trees_in::tree_node(bool)
        ../../gcc/gcc/cp/module.cc:9174
0xa6d36b module_state::read_cluster(unsigned int)
        ../../gcc/gcc/cp/module.cc:14858
0xa6d86d module_state::load_section(unsigned int, binding_slot*)
        ../../gcc/gcc/cp/module.cc:18125
0xa6d92f module_state::lazy_load(unsigned int, binding_slot*)
        ../../gcc/gcc/cp/module.cc:18779
0xa67b80 trees_in::tree_node(bool)
        ../../gcc/gcc/cp/module.cc:9685
0xa6de67 trees_in::decl_container()
        ../../gcc/gcc/cp/module.cc:10301
0xa6de67 trees_in::decl_value()
        ../../gcc/gcc/cp/module.cc:7903
0xa66d17 trees_in::tree_node(bool)
        ../../gcc/gcc/cp/module.cc:9174
0xa6d36b module_state::read_cluster(unsigned int)
        ../../gcc/gcc/cp/module.cc:14858
0xa6d86d module_state::load_section(unsigned int, binding_slot*)
        ../../gcc/gcc/cp/module.cc:18125
0xa6d92f module_state::lazy_load(unsigned int, binding_slot*)
        ../../gcc/gcc/cp/module.cc:18779
0xa67b80 trees_in::tree_node(bool)
        ../../gcc/gcc/cp/module.cc:9685
0xa66c89 trees_in::tree_node(bool)
        ../../gcc/gcc/cp/module.cc:9224
0xa675bd trees_in::tree_node(bool)
        ../../gcc/gcc/cp/module.cc:9367
0xa69095 trees_in::core_vals(tree_node*)
        ../../gcc/gcc/cp/module.cc:6630
0xa663e7 trees_in::tree_node_vals(tree_node*)
        ../../gcc/gcc/cp/module.cc:7060
0xa663e7 trees_in::tree_value()
        ../../gcc/gcc/cp/module.cc:8951
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 20210308 (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] 3+ messages in thread

* [Bug c++/99481] [modules] ICE tree check: expected template_decl, have function_decl in decl_value, at cp/module.cc:7938
  2021-03-09  7:42 [Bug c++/99481] New: [modules] ICE tree check: expected template_decl, have function_decl in decl_value, at cp/module.cc:7938 alexander.lelyakin at googlemail dot com
@ 2021-03-12  6:34 ` alexander.lelyakin at googlemail dot com
  2021-03-15 12:42 ` nathan at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: alexander.lelyakin at googlemail dot com @ 2021-03-12  6:34 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

* [Bug c++/99481] [modules] ICE tree check: expected template_decl, have function_decl in decl_value, at cp/module.cc:7938
  2021-03-09  7:42 [Bug c++/99481] New: [modules] ICE tree check: expected template_decl, have function_decl in decl_value, at cp/module.cc:7938 alexander.lelyakin at googlemail dot com
  2021-03-12  6:34 ` [Bug c++/99481] " alexander.lelyakin at googlemail dot com
@ 2021-03-15 12:42 ` nathan at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: nathan at gcc dot gnu.org @ 2021-03-15 12:42 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #2 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
most likely 99528

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

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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-09  7:42 [Bug c++/99481] New: [modules] ICE tree check: expected template_decl, have function_decl in decl_value, at cp/module.cc:7938 alexander.lelyakin at googlemail dot com
2021-03-12  6:34 ` [Bug c++/99481] " alexander.lelyakin at googlemail dot com
2021-03-15 12:42 ` 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).