public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/95672] New: ICE in cxx_incomplete_type_diagnostic, at cp/typeck2.c:584
@ 2020-06-14 12:48 haoxintu at gmail dot com
  2020-06-14 16:38 ` [Bug c++/95672] " haoxintu at gmail dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: haoxintu at gmail dot com @ 2020-06-14 12:48 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95672
           Summary: ICE in cxx_incomplete_type_diagnostic, at
                    cp/typeck2.c:584
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: haoxintu at gmail dot com
  Target Milestone: ---

$cat bug.cc
struct g_class : decltype  (auto) ... {  } ;

$g++ bug.cc
bug.cc:1:35: internal compiler error: in cxx_incomplete_type_diagnostic, at
cp/typeck2.c:584
    1 | struct g_class : decltype  (auto) ... {  } ;
      |                                   ^~~
0x5cef74 cxx_incomplete_type_diagnostic(unsigned int, tree_node const*,
tree_node const*, diagnostic_t)
        ../../gcc/cp/typeck2.c:584
0x77b9af cxx_incomplete_type_diagnostic(tree_node const*, tree_node const*,
diagnostic_t)
        ../../gcc/cp/cp-tree.h:7705
0x77b9af complete_type_or_maybe_complain(tree_node*, tree_node*, int)
        ../../gcc/cp/typeck.c:156
0x77b9af complete_type_or_else(tree_node*, tree_node*)
        ../../gcc/cp/typeck.c:166
0x685881 xref_basetypes(tree_node*, tree_node*)
        ../../gcc/cp/decl.c:15099
0x6edfe9 cp_parser_class_head
        ../../gcc/cp/parser.c:24717
0x6edfe9 cp_parser_class_specifier_1
        ../../gcc/cp/parser.c:23874
0x6ee273 cp_parser_class_specifier
        ../../gcc/cp/parser.c:24248
0x6ee273 cp_parser_type_specifier
        ../../gcc/cp/parser.c:17762
0x6ef092 cp_parser_decl_specifier_seq
        ../../gcc/cp/parser.c:14410
0x6efbb1 cp_parser_simple_declaration
        ../../gcc/cp/parser.c:13664
0x7159c6 cp_parser_declaration
        ../../gcc/cp/parser.c:13484
0x7160b4 cp_parser_translation_unit
        ../../gcc/cp/parser.c:4761
0x7160b4 c_parse_file()
        ../../gcc/cp/parser.c:44034
0x7de74b c_common_parse_file()
        ../../gcc/c-family/c-opts.c:1190
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

$g++ --version
g++ (GCC) 11.0.0 20200605 (experimental)
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

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

end of thread, other threads:[~2020-06-24 20:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-14 12:48 [Bug c++/95672] New: ICE in cxx_incomplete_type_diagnostic, at cp/typeck2.c:584 haoxintu at gmail dot com
2020-06-14 16:38 ` [Bug c++/95672] " haoxintu at gmail dot com
2020-06-15  6:50 ` marxin at gcc dot gnu.org
2020-06-15  8:00 ` haoxintu at gmail dot com
2020-06-15 11:20 ` marxin at gcc dot gnu.org
2020-06-15 18:22 ` mpolacek at gcc dot gnu.org
2020-06-15 22:23 ` xerofoify at gmail dot com
2020-06-24 20:08 ` cvs-commit at gcc dot gnu.org
2020-06-24 20:14 ` 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).