public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99483] New: [modules] ICE tree check: expected tree_vec, have bind_expr in lookup_template_class_1, at cp/pt.c:9803
@ 2021-03-09  7:44 alexander.lelyakin at googlemail dot com
  2021-03-11  8:03 ` [Bug c++/99483] " alexander.lelyakin at googlemail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: alexander.lelyakin at googlemail dot com @ 2021-03-09  7:44 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99483
           Summary: [modules] ICE tree check: expected tree_vec, have
                    bind_expr in lookup_template_class_1, at cp/pt.c:9803
           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 system_error
g++ -std=c++20 -fmodules-ts -x c++-system-header atomic
g++ -std=c++20 -fmodules-ts -x c++-system-header typeinfo
g++ -std=c++20 -fmodules-ts -x c++-system-header string
g++ -std=c++20 -fmodules-ts -x c++-system-header list
g++ -std=c++20 -fmodules-ts -x c++-system-header bitset
----
/usr/local/include/c++/11.0.1/bitset:760:80: internal compiler error: tree
check: expected tree_vec, have bind_expr in lookup_template_class_1, at
cp/pt.c:9803
  760 |       _M_check_initial_position(const std::basic_string<_CharT,
_Traits, _Alloc>& __s,
      |                                                                        
       ^
0x875ba8 tree_check_failed(tree_node const*, char const*, int, char const*,
...)
        ../../gcc/gcc/tree.c:9814
0x71d266 tree_check(tree_node*, char const*, int, char const*, tree_code)
        ../../gcc/gcc/tree.h:3353
0x71d266 lookup_template_class_1
        ../../gcc/gcc/cp/pt.c:9803
0xb21d6c lookup_template_class(tree_node*, tree_node*, tree_node*, tree_node*,
int, int)
        ../../gcc/gcc/cp/pt.c:10237
0xb49ffb finish_template_type(tree_node*, tree_node*, int)
        ../../gcc/gcc/cp/semantics.c:3498
0xabbf41 cp_parser_template_id
        ../../gcc/gcc/cp/parser.c:17444
0xabc12b cp_parser_class_name
        ../../gcc/gcc/cp/parser.c:24671
0xab36ba cp_parser_qualifying_entity
        ../../gcc/gcc/cp/parser.c:6994
0xab36ba cp_parser_nested_name_specifier_opt
        ../../gcc/gcc/cp/parser.c:6676
0xac8e14 cp_parser_simple_type_specifier
        ../../gcc/gcc/cp/parser.c:18837
0xaa7bad cp_parser_type_specifier
        ../../gcc/gcc/cp/parser.c:18495
0xaa8ba9 cp_parser_decl_specifier_seq
        ../../gcc/gcc/cp/parser.c:15041
0xac39ce cp_parser_parameter_declaration
        ../../gcc/gcc/cp/parser.c:23731
0xac43a2 cp_parser_parameter_declaration_list
        ../../gcc/gcc/cp/parser.c:23548
0xac47f1 cp_parser_parameter_declaration_clause
        ../../gcc/gcc/cp/parser.c:23475
0xab5933 cp_parser_direct_declarator
        ../../gcc/gcc/cp/parser.c:22124
0xab5933 cp_parser_declarator
        ../../gcc/gcc/cp/parser.c:21987
0xaccb78 cp_parser_init_declarator
        ../../gcc/gcc/cp/parser.c:21485
0xad39ab cp_parser_single_declaration
        ../../gcc/gcc/cp/parser.c:30493
0xad3b16 cp_parser_template_declaration_after_parameters
        ../../gcc/gcc/cp/parser.c:30065
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] 5+ messages in thread

* [Bug c++/99483] [modules] ICE tree check: expected tree_vec, have bind_expr in lookup_template_class_1, at cp/pt.c:9803
  2021-03-09  7:44 [Bug c++/99483] New: [modules] ICE tree check: expected tree_vec, have bind_expr in lookup_template_class_1, at cp/pt.c:9803 alexander.lelyakin at googlemail dot com
@ 2021-03-11  8:03 ` alexander.lelyakin at googlemail dot com
  2021-03-15 12:40 ` nathan at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: alexander.lelyakin at googlemail dot com @ 2021-03-11  8:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Alexander Lelyakin <alexander.lelyakin at googlemail dot com> ---
Disappeared in version 20210310.

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

* [Bug c++/99483] [modules] ICE tree check: expected tree_vec, have bind_expr in lookup_template_class_1, at cp/pt.c:9803
  2021-03-09  7:44 [Bug c++/99483] New: [modules] ICE tree check: expected tree_vec, have bind_expr in lookup_template_class_1, at cp/pt.c:9803 alexander.lelyakin at googlemail dot com
  2021-03-11  8:03 ` [Bug c++/99483] " alexander.lelyakin at googlemail dot com
@ 2021-03-15 12:40 ` nathan at gcc dot gnu.org
  2021-03-15 12:45 ` nathan at gcc dot gnu.org
  2021-03-30  1:27 ` mpolacek at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: nathan at gcc dot gnu.org @ 2021-03-15 12:40 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nathan at gcc dot gnu.org

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

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

* [Bug c++/99483] [modules] ICE tree check: expected tree_vec, have bind_expr in lookup_template_class_1, at cp/pt.c:9803
  2021-03-09  7:44 [Bug c++/99483] New: [modules] ICE tree check: expected tree_vec, have bind_expr in lookup_template_class_1, at cp/pt.c:9803 alexander.lelyakin at googlemail dot com
  2021-03-11  8:03 ` [Bug c++/99483] " alexander.lelyakin at googlemail dot com
  2021-03-15 12:40 ` nathan at gcc dot gnu.org
@ 2021-03-15 12:45 ` nathan at gcc dot gnu.org
  2021-03-30  1:27 ` mpolacek at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: nathan at gcc dot gnu.org @ 2021-03-15 12:45 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-03-15
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |WAITING

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

* [Bug c++/99483] [modules] ICE tree check: expected tree_vec, have bind_expr in lookup_template_class_1, at cp/pt.c:9803
  2021-03-09  7:44 [Bug c++/99483] New: [modules] ICE tree check: expected tree_vec, have bind_expr in lookup_template_class_1, at cp/pt.c:9803 alexander.lelyakin at googlemail dot com
                   ` (2 preceding siblings ...)
  2021-03-15 12:45 ` nathan at gcc dot gnu.org
@ 2021-03-30  1:27 ` mpolacek at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2021-03-30  1:27 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed.

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

end of thread, other threads:[~2021-03-30  1:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-09  7:44 [Bug c++/99483] New: [modules] ICE tree check: expected tree_vec, have bind_expr in lookup_template_class_1, at cp/pt.c:9803 alexander.lelyakin at googlemail dot com
2021-03-11  8:03 ` [Bug c++/99483] " alexander.lelyakin at googlemail dot com
2021-03-15 12:40 ` nathan at gcc dot gnu.org
2021-03-15 12:45 ` nathan at gcc dot gnu.org
2021-03-30  1:27 ` 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).