public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jonathan.k at qspark dot co" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/97966] New: maybe_instantiate_noexcept
Date: Tue, 24 Nov 2020 11:53:26 +0000	[thread overview]
Message-ID: <bug-97966-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 97966
           Summary: maybe_instantiate_noexcept
           Product: gcc
           Version: 10.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jonathan.k at qspark dot co
  Target Milestone: ---

Getting the following backtrace while compiling using gcc 10.2 with c++17 on
fedora 23 os:

11:09:02  0x5fe0c0 maybe_instantiate_noexcept(tree_node*, int)
11:09:02        ../.././gcc/cp/pt.c:25346
11:09:02  0x6c5f9a mark_used(tree_node*, int)
11:09:02        ../.././gcc/cp/decl2.c:5516
11:09:02  0x77cd97 instantiate_class_template_1
11:09:02        ../.././gcc/cp/pt.c:11819
11:09:02  0x77d7a2 instantiate_class_template(tree_node*)
11:09:02        ../.././gcc/cp/pt.c:12120
11:09:02  0x7ad0ed complete_type(tree_node*)
11:09:02        ../.././gcc/cp/typeck.c:137
11:09:02  0x7ad0ed complete_type(tree_node*)
11:09:02        ../.././gcc/cp/typeck.c:111
11:09:02  0x77cdec instantiate_class_template_1
11:09:02        ../.././gcc/cp/pt.c:11906
11:09:02  0x77d7a2 instantiate_class_template(tree_node*)
11:09:02        ../.././gcc/cp/pt.c:12120
11:09:02  0x7ad0ed complete_type(tree_node*)
11:09:02        ../.././gcc/cp/typeck.c:137
11:09:02  0x7ad0ed complete_type(tree_node*)
11:09:02        ../.././gcc/cp/typeck.c:111
11:09:02  0x730ef3 cp_parser_nested_name_specifier_opt
11:09:02        ../.././gcc/cp/parser.c:6642
11:09:02  0x7201ca cp_parser_constructor_declarator_p
11:09:02        ../.././gcc/cp/parser.c:28667
11:09:02  0x7201ca cp_parser_decl_specifier_seq
11:09:02        ../.././gcc/cp/parser.c:14349
11:09:02  0x743485 cp_parser_single_declaration
11:09:02        ../.././gcc/cp/parser.c:29421
11:09:02  0x7437fd cp_parser_template_declaration_after_parameters
11:09:02        ../.././gcc/cp/parser.c:29084
11:09:02  0x743daa cp_parser_explicit_template_declaration
11:09:02        ../.././gcc/cp/parser.c:29350
11:09:02  0x746c89 cp_parser_declaration
11:09:02        ../.././gcc/cp/parser.c:13387
11:09:02  0x746872 cp_parser_toplevel_declaration
11:09:02        ../.././gcc/cp/parser.c:13466
11:09:02  0x746872 cp_parser_declaration_seq_opt
11:09:02        ../.././gcc/cp/parser.c:13314
11:09:02  0x746872 cp_parser_namespace_body
11:09:02        ../.././gcc/cp/parser.c:19727

Attached a generated ii file.
Compilation flag:
/usr/local/bin/g++ <include-directives> -save-temps=obj -std=c++17 -Wall
-Wextra -Wno-unused-parameter -Werror -O3 -g -Wfatal-errors
-ftemplate-depth=1800 -ftrack-macro-expansion=1 -static-libstdc++ -fpic -o
<cmake-build-path>/Exceptions.cpp.o -c <source-path>/Exceptions.cpp

If you can also provide a code workaround I can use if this is a known issue
then it would be great.

Thanks in advance,
Jonathan

             reply	other threads:[~2020-11-24 11:53 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-24 11:53 jonathan.k at qspark dot co [this message]
2020-11-24 11:56 ` [Bug c++/97966] maybe_instantiate_noexcept jonathan.k at qspark dot co
2020-11-30 18:18 ` [Bug c++/97966] [10/11 Regression] maybe_instantiate_noexcept mpolacek at gcc dot gnu.org
2020-11-30 18:56 ` mpolacek at gcc dot gnu.org
2021-01-14  9:43 ` rguenth at gcc dot gnu.org
2021-01-22  1:09 ` cvs-commit at gcc dot gnu.org
2021-01-22  1:10 ` [Bug c++/97966] [10 " mpolacek at gcc dot gnu.org
2021-04-08 12:02 ` rguenth at gcc dot gnu.org
2021-04-09 22:32 ` cvs-commit at gcc dot gnu.org
2021-04-09 22:33 ` mpolacek at gcc dot gnu.org
2021-04-11 12:44 ` ebotcazou at gcc dot gnu.org
2021-04-11 16:58 ` mpolacek at gcc dot gnu.org
2021-04-11 22:58 ` cvs-commit at gcc dot gnu.org
2021-04-11 22:58 ` mpolacek at gcc dot gnu.org
2021-04-13 10:47 ` ebotcazou 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-97966-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).