public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/94153] New: internal compiler error: in cp_lexer_new_from_tokens, at cp/parser.c:700
@ 2020-03-12 11:26 v.barinov at samsung dot com
  2020-03-12 12:40 ` [Bug c++/94153] " marxin at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: v.barinov at samsung dot com @ 2020-03-12 11:26 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 94153
           Summary: internal compiler error: in cp_lexer_new_from_tokens,
                    at cp/parser.c:700
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: v.barinov at samsung dot com
  Target Milestone: ---

Created attachment 48023
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48023&action=edit
reduced reprocase

parser-ice.ii:2:3: internal compiler error: in cp_lexer_new_from_tokens, at
cp/parser.c:700
    2 |   a < class {           b(  {
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
0x66471b cp_parser_push_lexer_for_tokens
        /mnt/gcc/gcc/cp/parser.c:700
0x9d8ec5 cp_parser_late_parsing_for_member
        /mnt/gcc/gcc/cp/parser.c:29776
0x9b73db cp_parser_class_specifier_1
        /mnt/gcc/gcc/cp/parser.c:24085
0x9b8383 cp_parser_class_specifier
        /mnt/gcc/gcc/cp/parser.c:24109
0x9b8383 cp_parser_type_specifier
        /mnt/gcc/gcc/cp/parser.c:17666
0x9b940b cp_parser_decl_specifier_seq
        /mnt/gcc/gcc/cp/parser.c:14314
0x9df435 cp_parser_single_declaration
        /mnt/gcc/gcc/cp/parser.c:29291
0x9df7bc cp_parser_template_declaration_after_parameters
        /mnt/gcc/gcc/cp/parser.c:28954
0x9dff10 cp_parser_explicit_template_declaration
        /mnt/gcc/gcc/cp/parser.c:29220
0x9e2fb9 cp_parser_declaration
        /mnt/gcc/gcc/cp/parser.c:13337
0x9e35ea cp_parser_translation_unit
        /mnt/gcc/gcc/cp/parser.c:4731
0x9e35ea c_parse_file()
        /mnt/gcc/gcc/cp/parser.c:43760
0xaf80ab c_common_parse_file()
        /mnt/gcc/gcc/c-family/c-opts.c:1186

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

end of thread, other threads:[~2021-12-29  0:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-12 11:26 [Bug c++/94153] New: internal compiler error: in cp_lexer_new_from_tokens, at cp/parser.c:700 v.barinov at samsung dot com
2020-03-12 12:40 ` [Bug c++/94153] " marxin at gcc dot gnu.org
2020-03-12 12:47 ` [Bug c++/94153] [8/9/10 Regression] " jakub at gcc dot gnu.org
2020-03-12 12:58 ` v.barinov at samsung dot com
2020-03-12 14:00 ` marxin at gcc dot gnu.org
2021-05-14  9:53 ` [Bug c++/94153] [9/10/11/12 " jakub at gcc dot gnu.org
2021-06-01  8:16 ` rguenth at gcc dot gnu.org
2021-12-29  0:24 ` pinskia 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).