Inserting the following code into get_inner_reference before if (size_tree != 0), causes bootstrap failures where DECL_SIZE is NULL but shouldn't be
gcc_assert (size_tree != 0 || (TREE_CODE (exp) != COMPONENT_REF && TREE_CODE (exp) != BIT_FIELD_REF)); -- Summary: DECL_SIZE set to NULL at times Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dberlin at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23999