From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2DAFC386F47C; Tue, 24 Nov 2020 11:53:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2DAFC386F47C From: "jonathan.k at qspark dot co" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/97966] New: maybe_instantiate_noexcept Date: Tue, 24 Nov 2020 11:53:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jonathan.k at qspark dot co X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Nov 2020 11:53:27 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97966 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++ -save-temps=3Dobj -std=3Dc++17 -Wall -Wextra -Wno-unused-parameter -Werror -O3 -g -Wfatal-errors -ftemplate-depth=3D1800 -ftrack-macro-expansion=3D1 -static-libstdc++ -fpic= -o /Exceptions.cpp.o -c /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=