public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/99242] New: internal compiler error: in lookup_mark, at cp/tree.c:2403
@ 2021-02-24  8:43 alexander.lelyakin at googlemail dot com
  2021-03-27  6:48 ` [Bug c++/99242] [modules] ICE " alexander.lelyakin at googlemail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: alexander.lelyakin at googlemail dot com @ 2021-02-24  8:43 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99242
           Summary: internal compiler error: in lookup_mark, at
                    cp/tree.c:2403
           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 ios
g++ -std=c++20 -fmodules-ts -x c++-system-header exception
g++ -std=c++20 -fmodules-ts -x c++-system-header list
g++ -std=c++20 -fmodules-ts -x c++-system-header cstdlib
g++ -std=c++20 -fmodules-ts -x c++-system-header bit
g++ -std=c++20 -fmodules-ts -x c++-system-header cinttypes
g++ -std=c++20 -fmodules-ts -x c++-system-header memory
---------
In file included from
/usr/local/include/c++/11.0.0/bits/ranges_uninitialized.h:36,
                 from /usr/local/include/c++/11.0.0/memory:86:
/usr/local/include/c++/11.0.0/bits/ranges_algobase.h: In function ‘constexpr
std::conditional_t<_IsMove, std::ranges::in_out_result<_Iter, _Out>,
std::ranges::in_out_result<_Iter, _Out> > std::ranges::__copy_or_move(_Iter,
_Sent, _Out)’:
/usr/local/include/c++/11.0.0/bits/ranges_algobase.h:253:21: internal compiler
error: in lookup_mark, at cp/tree.c:2403
  253 |           if (!std::is_constant_evaluated())
      |                     ^~~~~~~~~~~~~~~~~~~~~
0x73a27e lookup_mark(tree_node*, bool)
        ../../gcc/gcc/cp/tree.c:2403
0xa7cc7d name_lookup::search_namespace_only(tree_node*)
        ../../gcc/gcc/cp/name-lookup.c:955
0xa7cdba name_lookup::search_namespace(tree_node*)
        ../../gcc/gcc/cp/name-lookup.c:1013
0xa7cdba name_lookup::search_namespace(tree_node*)
        ../../gcc/gcc/cp/name-lookup.c:1006
0xa7d236 name_lookup::search_qualified(tree_node*, bool)
        ../../gcc/gcc/cp/name-lookup.c:1074
0xa7d236 name_lookup::search_qualified(tree_node*, bool)
        ../../gcc/gcc/cp/name-lookup.c:1066
0xa8162f qualified_namespace_lookup
        ../../gcc/gcc/cp/name-lookup.c:7225
0xa82648 lookup_qualified_name(tree_node*, tree_node*, LOOK_want, bool)
        ../../gcc/gcc/cp/name-lookup.c:7186
0xa8febc cp_parser_lookup_name
        ../../gcc/gcc/cp/parser.c:29199
0xab9777 cp_parser_class_name
        ../../gcc/gcc/cp/parser.c:24612
0xab9a79 cp_parser_type_name
        ../../gcc/gcc/cp/parser.c:19153
0xac6286 cp_parser_simple_type_specifier
        ../../gcc/gcc/cp/parser.c:18856
0xaae883 cp_parser_postfix_expression
        ../../gcc/gcc/cp/parser.c:7420
0xac4bd7 cp_parser_unary_expression
        ../../gcc/gcc/cp/parser.c:8736
0xa9884a cp_parser_binary_expression
        ../../gcc/gcc/cp/parser.c:9825
0xa9917c cp_parser_assignment_expression
        ../../gcc/gcc/cp/parser.c:10130
0xa9a6c2 cp_parser_expression
        ../../gcc/gcc/cp/parser.c:10298
0xac085a cp_parser_condition
        ../../gcc/gcc/cp/parser.c:12603
0xaa9968 cp_parser_selection_statement
        ../../gcc/gcc/cp/parser.c:12257
0xaa9968 cp_parser_statement
        ../../gcc/gcc/cp/parser.c:11623
------
g++ (GCC) 11.0.0 20210223 (experimental)

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

end of thread, other threads:[~2024-03-16 18:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-24  8:43 [Bug c++/99242] New: internal compiler error: in lookup_mark, at cp/tree.c:2403 alexander.lelyakin at googlemail dot com
2021-03-27  6:48 ` [Bug c++/99242] [modules] ICE " alexander.lelyakin at googlemail dot com
2023-06-01  0:12 ` pinskia at gcc dot gnu.org
2023-06-05 13:57 ` redi at gcc dot gnu.org
2024-03-16 18:24 ` ppalka at gcc dot gnu.org
2024-03-16 18:28 ` ppalka 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).