public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/97762] New: [11 Regression] ICE: Segmentation fault (in warn_about_ambiguous_parse) Date: Mon, 09 Nov 2020 08:00:00 +0000 [thread overview] Message-ID: <bug-97762-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97762 Bug ID: 97762 Summary: [11 Regression] ICE: Segmentation fault (in warn_about_ambiguous_parse) Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- g++-11.0.0-alpha20201108 snapshot (g:b642fca1c31b2e2175e0860daf32b4ee0d918085) ICEs when compiling gcc/testsuite/gcc.c-torture/execute/nestfunc-3.c: % g++-11.0.0 -c gcc/testsuite/gcc.c-torture/execute/nestfunc-3.c gcc/testsuite/gcc.c-torture/execute/nestfunc-3.c: In function 'int main()': gcc/testsuite/gcc.c-torture/execute/nestfunc-3.c:12:32: internal compiler error: Segmentation fault 12 | long nested_0 (long a, long b) | ^ 0x10302ff crash_signal /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201108/work/gcc-11-20201108/gcc/toplev.c:330 0x9bf80b warn_about_ambiguous_parse /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201108/work/gcc-11-20201108/gcc/cp/parser.c:20656 0x9f6199 cp_parser_init_declarator /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201108/work/gcc-11-20201108/gcc/cp/parser.c:20943 0x9d56de cp_parser_simple_declaration /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201108/work/gcc-11-20201108/gcc/cp/parser.c:13892 0x9d768c cp_parser_declaration_statement /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201108/work/gcc-11-20201108/gcc/cp/parser.c:13332 0x9d835f cp_parser_statement /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201108/work/gcc-11-20201108/gcc/cp/parser.c:11578 0x9d943d cp_parser_statement_seq_opt /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201108/work/gcc-11-20201108/gcc/cp/parser.c:11944 0x9d9518 cp_parser_compound_statement /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201108/work/gcc-11-20201108/gcc/cp/parser.c:11894 0x9f2524 cp_parser_function_body /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201108/work/gcc-11-20201108/gcc/cp/parser.c:23410 0x9f2524 cp_parser_ctor_initializer_opt_and_function_body /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201108/work/gcc-11-20201108/gcc/cp/parser.c:23461 0x9f5dc9 cp_parser_function_definition_after_declarator /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201108/work/gcc-11-20201108/gcc/cp/parser.c:29355 0x9f6e19 cp_parser_function_definition_from_specifiers_and_declarator /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201108/work/gcc-11-20201108/gcc/cp/parser.c:29271 0x9f6e19 cp_parser_init_declarator /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201108/work/gcc-11-20201108/gcc/cp/parser.c:20983 0x9d56de cp_parser_simple_declaration /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201108/work/gcc-11-20201108/gcc/cp/parser.c:13892 0xa02266 cp_parser_declaration /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201108/work/gcc-11-20201108/gcc/cp/parser.c:13591 0xa028d0 cp_parser_translation_unit /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201108/work/gcc-11-20201108/gcc/cp/parser.c:4796 0xa028d0 c_parse_file() /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201108/work/gcc-11-20201108/gcc/cp/parser.c:44444 0xb2621d c_common_parse_file() /var/tmp/portage/sys-devel/gcc-11.0.0_alpha20201108/work/gcc-11-20201108/gcc/c-family/c-opts.c:1196
next reply other threads:[~2020-11-09 8:00 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-11-09 8:00 asolokha at gmx dot com [this message] 2020-11-09 8:18 ` [Bug c++/97762] " rguenth at gcc dot gnu.org 2020-11-09 8:53 ` marxin at gcc dot gnu.org 2020-11-09 13:57 ` mpolacek at gcc dot gnu.org 2020-11-09 14:57 ` mpolacek at gcc dot gnu.org 2020-11-09 19:40 ` cvs-commit at gcc dot gnu.org 2020-11-09 19:41 ` mpolacek 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-97762-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: linkBe 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).