public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/97966] New: maybe_instantiate_noexcept
@ 2020-11-24 11:53 jonathan.k at qspark dot co
  2020-11-24 11:56 ` [Bug c++/97966] maybe_instantiate_noexcept jonathan.k at qspark dot co
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: jonathan.k at qspark dot co @ 2020-11-24 11:53 UTC (permalink / raw)
  To: gcc-bugs

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

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

end of thread, other threads:[~2021-04-13 10:47 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-24 11:53 [Bug c++/97966] New: maybe_instantiate_noexcept jonathan.k at qspark dot co
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

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).