This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/79782] New: [7 Regression] ICE: tree check: expected tree_list, have void_type in emit_mem_initializers, at cp/init.c:1225


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

            Bug ID: 79782
           Summary: [7 Regression] ICE: tree check: expected tree_list,
                    have void_type in emit_mem_initializers, at
                    cp/init.c:1225
           Product: gcc
           Version: 7.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: burnus at gcc dot gnu.org
  Target Milestone: ---

Created attachment 40862
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40862&action=edit
C++ example, run as "g++ test.ii"

Worked yesterday or so.

Attached example fails with compiling (g++ test.ii) as:
test.ii: In constructor ‘std::MutableNumericType::MutableNumericType(const
string&)’:
test.ii:22:45: internal compiler error: tree check: expected tree_list, have
void_type in emit_mem_initializers, at cp/init.c:1225
         typeName):MutableNumericTaggedType ()
                                             ^
0x100dd0c tree_check_failed(tree_node const*, char const*, int, char const*,
...)
        ../../gcc/tree.c:9813
0x7944b1 tree_check(tree_node*, char const*, int, char const*, tree_code)
        ../../gcc/tree.h:3064
0x7944b1 emit_mem_initializers(tree_node*)
        ../../gcc/cp/init.c:1225
0x726f8a cp_parser_mem_initializer_list
        ../../gcc/cp/parser.c:14116
0x726f8a cp_parser_ctor_initializer_opt
        ../../gcc/cp/parser.c:14027

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]