public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "v.barinov at samsung dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/94153] New: internal compiler error: in cp_lexer_new_from_tokens, at cp/parser.c:700
Date: Thu, 12 Mar 2020 11:26:29 +0000	[thread overview]
Message-ID: <bug-94153-4@http.gcc.gnu.org/bugzilla/> (raw)

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

             reply	other threads:[~2020-03-12 11:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-12 11:26 v.barinov at samsung dot com [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-94153-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).