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

            Bug ID: 103946
           Summary: ice in build_vec_init_expr, at cp/tree.c:791
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 52142
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52142&action=edit
gzipped C++ source code

The attached C++ code does this:

regexst.cpp:75:52: internal compiler error: in build_vec_init_expr, at
cp/tree.c:791
0x9aa3ca build_vec_init_expr(tree_node*, tree_node*, int)
        ../../trunk.git/gcc/cp/tree.c:791
0x7cbe6e perform_member_init(tree_node*, tree_node*, hash_set<tree_node*,
false, default_hash_t
raits<tree_node*> >&)
        ../../trunk.git/gcc/cp/init.c:0
0x7cbe6e emit_mem_initializers(tree_node*)
        ../../trunk.git/gcc/cp/init.c:1584
0x8a30a8 cp_parser_ctor_initializer_opt(cp_parser*)
        ../../trunk.git/gcc/cp/parser.c:0

Bug first seems to occur sometime between git hash 80ad67e2af0620d5
and add37d3bf4f375bb, a distance of 62 commits.

I will run a reduce.

Reply via email to