Lines Matching refs:init
441 tree lastval, lastidx, field, init, type, flexsize; in update_decl_size() local
449 init = DECL_INITIAL(decl); in update_decl_size()
450 if (init == NULL_TREE || init == error_mark_node) in update_decl_size()
453 if (TREE_CODE(init) != CONSTRUCTOR) in update_decl_size()
456 len = CONSTRUCTOR_NELTS(init); in update_decl_size()
460 lastval = CONSTRUCTOR_ELT(init, CONSTRUCTOR_NELTS(init) - 1)->value; in update_decl_size()
461 lastidx = CONSTRUCTOR_ELT(init, CONSTRUCTOR_NELTS(init) - 1)->index; in update_decl_size()
570 static void check_bad_casts_in_constructor(tree var, tree init) in check_bad_casts_in_constructor() argument
576 FOR_EACH_CONSTRUCTOR_ELT(CONSTRUCTOR_ELTS(init), idx, field, val) { in check_bad_casts_in_constructor()
615 tree init; in check_global_variables() local
619 init = DECL_INITIAL(var); in check_global_variables()
620 if (init == NULL_TREE) in check_global_variables()
623 if (TREE_CODE(init) != CONSTRUCTOR) in check_global_variables()
626 check_bad_casts_in_constructor(var, init); in check_global_variables()
692 tree init = DECL_INITIAL(var); in handle_local_var_initializers() local
693 if (!init) in handle_local_var_initializers()
695 if (TREE_CODE(init) != CONSTRUCTOR) in handle_local_var_initializers()
697 check_bad_casts_in_constructor(var, init); in handle_local_var_initializers()