Lines Matching refs:init
490 tree lastval, lastidx, field, init, type, flexsize;
498 init = DECL_INITIAL(decl);
499 if (init == NULL_TREE || init == error_mark_node)
502 if (TREE_CODE(init) != CONSTRUCTOR)
505 len = CONSTRUCTOR_NELTS(init);
509 lastval = CONSTRUCTOR_ELT(init, CONSTRUCTOR_NELTS(init) - 1)->value;
510 lastidx = CONSTRUCTOR_ELT(init, CONSTRUCTOR_NELTS(init) - 1)->index;
623 static void check_bad_casts_in_constructor(tree var, tree init)
629 FOR_EACH_CONSTRUCTOR_ELT(CONSTRUCTOR_ELTS(init), idx, field, val) {
668 tree init;
672 init = DECL_INITIAL(var);
673 if (init == NULL_TREE)
676 if (TREE_CODE(init) != CONSTRUCTOR)
679 check_bad_casts_in_constructor(var, init);
745 tree init = DECL_INITIAL(var);
746 if (!init)
748 if (TREE_CODE(init) != CONSTRUCTOR)
750 check_bad_casts_in_constructor(var, init);