public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/103057] New: Internal compiler error: Error reporting routines re-entered
@ 2021-11-03 13:00 plasmahh at gmx dot net
  2021-11-03 13:07 ` [Bug c++/103057] " marxin at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: plasmahh at gmx dot net @ 2021-11-03 13:00 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 103057
           Summary: Internal compiler error: Error reporting routines
                    re-entered
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: plasmahh at gmx dot net
  Target Milestone: ---

Created attachment 51728
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51728&action=edit
cvise generated testcase

Compiling the attached testcase (generated with cvise out of a "real world"
piece of code, where supressing an "unused parameter" warning makes this go
away, due to the testcase being an error now, the error will trigger it too I
guess) with -std=gnu++2b (and likely some others) will ICE out:

Internal compiler error: Error reporting routines re-entered.
0xbd474d cxx_incomplete_type_diagnostic(unsigned int, tree_node const*,
tree_node const*, diagnostic_t)
        ../../gcc/cp/typeck2.c:330
0xb6629c cxx_incomplete_type_diagnostic(tree_node const*, tree_node const*,
diagnostic_t)
        ../../gcc/cp/cp-tree.h:8016
0xb6629c cxx_incomplete_type_error(tree_node const*, tree_node const*)
        ../../gcc/cp/cp-tree.h:8025
0xb6629c instantiate_class_template_1
        ../../gcc/cp/pt.c:12106
0xb66cd2 instantiate_class_template(tree_node*)
        ../../gcc/cp/pt.c:12302
0xbb58d9 complete_type(tree_node*)
        ../../gcc/cp/typeck.c:143
0xbb5a94 complete_type(tree_node*)
        ../../gcc/cp/typeck.c:169
0xbb5a94 complete_type_or_maybe_complain(tree_node*, tree_node*, int)
        ../../gcc/cp/typeck.c:156
0xb4ddb2 tsubst(tree_node*, tree_node*, int, tree_node*)
        ../../gcc/cp/pt.c:16069
0xb4ef9b tsubst_template_args(tree_node*, tree_node*, int, tree_node*)
        ../../gcc/cp/pt.c:13411
0xb4caa2 tsubst(tree_node*, tree_node*, int, tree_node*)
        ../../gcc/cp/pt.c:15449
0xa3266c dump_template_bindings
        ../../gcc/cp/error.c:482
0xa2bbba dump_function_decl
        ../../gcc/cp/error.c:1796
0xa33e0d decl_to_string
        ../../gcc/cp/error.c:3216
0xa33e0d cp_printer
        ../../gcc/cp/error.c:4387
0x1f9317c pp_format(pretty_printer*, text_info*)
        ../../gcc/pretty-print.c:1475
0x1f76b92 diagnostic_report_diagnostic(diagnostic_context*, diagnostic_info*)
        ../../gcc/diagnostic.c:1342
0x1f770f6 diagnostic_impl
        ../../gcc/diagnostic.c:1504
0x1f7787f permerror(unsigned int, char const*, ...)
        ../../gcc/diagnostic.c:1771
0xa26072 c_parse_final_cleanups()
        ../../gcc/cp/decl2.c:5255

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

end of thread, other threads:[~2022-04-12 17:29 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-03 13:00 [Bug c++/103057] New: Internal compiler error: Error reporting routines re-entered plasmahh at gmx dot net
2021-11-03 13:07 ` [Bug c++/103057] " marxin at gcc dot gnu.org
2021-11-03 13:09 ` marxin at gcc dot gnu.org
2021-11-03 13:49 ` plasmahh at gmx dot net
2021-11-07  7:30 ` [Bug c++/103057] [11/12 Regression] " pinskia at gcc dot gnu.org
2021-11-10 15:17 ` plasmahh at gmx dot net
2021-11-10 15:22 ` [Bug c++/103057] [11/12 Regression] Internal compiler error: Error reporting routines re-entered since r11-291-g0f50f6daa140186a marxin at gcc dot gnu.org
2022-01-17 13:01 ` rguenth at gcc dot gnu.org
2022-01-25  2:55 ` jason at gcc dot gnu.org
2022-01-26  4:23 ` cvs-commit at gcc dot gnu.org
2022-01-26  4:26 ` [Bug c++/103057] [11 " jason at gcc dot gnu.org
2022-01-26  5:01 ` jason at gcc dot gnu.org
2022-03-22  5:18 ` cvs-commit at gcc dot gnu.org
2022-04-12 17:29 ` jason 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).