[Bug c++/112427] [14 regression] ICE when building Minetest (internal compiler error: tree check: expected tree that contains ‘decl common’ structure, have ‘identifier_node’ in get_inner_reference, at expr.cc:7931) since r14-4793-gdad311874ac3b3

ppalka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 7 20:02:42 GMT 2023


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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |ppalka at gcc dot gnu.org
   Last reconfirmed|                            |2023-11-07
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |ASSIGNED
            Summary|[14 regression] ICE when    |[14 regression] ICE when
                   |buliding Minetest (internal |building Minetest (internal
                   |compiler error: tree check: |compiler error: tree check:
                   |expected tree that contains |expected tree that contains
                   |‘decl common’ structure,    |‘decl common’ structure,
                   |have ‘identifier_node’ in   |have ‘identifier_node’ in
                   |get_inner_reference, at     |get_inner_reference, at
                   |expr.cc:7931)               |expr.cc:7931) since
                   |                            |r14-4793-gdad311874ac3b3
                 CC|                            |ppalka at gcc dot gnu.org

--- Comment #2 from Patrick Palka <ppalka at gcc dot gnu.org> ---
struct A { int m; };
struct B { A a; };

template<int A::*P>
void f(B* b) {
  b->a.*P;
}


More information about the Gcc-bugs mailing list