public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/100659] New: [11/12 Regression] ICE in supplement_binding_1, at cp/name-lookup.c:2702
@ 2021-05-18 17:41 gscfq@t-online.de
  2021-05-19  7:56 ` [Bug c++/100659] " rguenth at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: gscfq@t-online.de @ 2021-05-18 17:41 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 100659
           Summary: [11/12 Regression] ICE in supplement_binding_1, at
                    cp/name-lookup.c:2702
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Changed between 20201108 and 20201115 :


$ cat z1.cc
template <typename> struct A
{
  A::E::V;
  enum { V };
};


$ g++-12-20210516 -c z1.cc
z1.cc:3:3: warning: access declarations are deprecated in favour of
using-declarations; suggestion: add the 'using' keyword [-Wdeprecated]
    3 |   A::E::V;
      |   ^
z1.cc:4:10: internal compiler error: Segmentation fault
    4 |   enum { V };
      |          ^
0xce3fcf crash_signal
        ../../gcc/toplev.c:327
0x75543c supplement_binding_1
        ../../gcc/cp/name-lookup.c:2702
0x759e06 supplement_binding
        ../../gcc/cp/name-lookup.c:2746
0x759e06 push_class_level_binding_1
        ../../gcc/cp/name-lookup.c:5549
0x759e06 push_class_level_binding(tree_node*, tree_node*)
        ../../gcc/cp/name-lookup.c:5567
0x759f7e pushdecl_class_level(tree_node*)
        ../../gcc/cp/name-lookup.c:5280
0x7eb4d7 finish_member_declaration(tree_node*)
        ../../gcc/cp/semantics.c:3468
0x6dda21 build_enumerator(tree_node*, tree_node*, tree_node*, tree_node*,
unsigned int)
        ../../gcc/cp/decl.c:16323
0x781d79 cp_parser_enumerator_definition
        ../../gcc/cp/parser.c:20284
0x781d79 cp_parser_enumerator_list
        ../../gcc/cp/parser.c:20213
0x781d79 cp_parser_enum_specifier
        ../../gcc/cp/parser.c:20143
0x781d79 cp_parser_type_specifier
        ../../gcc/cp/parser.c:18455
0x782246 cp_parser_decl_specifier_seq
        ../../gcc/cp/parser.c:15086
0x7a560a cp_parser_member_declaration
        ../../gcc/cp/parser.c:26003
0x77f7de cp_parser_member_specification_opt
        ../../gcc/cp/parser.c:25860
0x77f7de cp_parser_class_specifier_1
        ../../gcc/cp/parser.c:24932
0x781750 cp_parser_class_specifier
        ../../gcc/cp/parser.c:25248
0x781750 cp_parser_type_specifier
        ../../gcc/cp/parser.c:18485
0x782246 cp_parser_decl_specifier_seq
        ../../gcc/cp/parser.c:15086
0x7a43f5 cp_parser_single_declaration
        ../../gcc/cp/parser.c:30513

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

end of thread, other threads:[~2021-05-20  3:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-18 17:41 [Bug c++/100659] New: [11/12 Regression] ICE in supplement_binding_1, at cp/name-lookup.c:2702 gscfq@t-online.de
2021-05-19  7:56 ` [Bug c++/100659] " rguenth at gcc dot gnu.org
2021-05-19 10:03 ` [Bug c++/100659] [11/12 Regression] ICE in supplement_binding_1, at cp/name-lookup.c:2702 since r11-5003-gd50310408f54e380 marxin at gcc dot gnu.org
2021-05-19 20:38 ` jason at gcc dot gnu.org
2021-05-20  3:11 ` cvs-commit at gcc dot gnu.org
2021-05-20  3:12 ` cvs-commit at gcc dot gnu.org
2021-05-20  3:13 ` 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).