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