On Thu, Dec 08, 2011 at 11:05:42AM -0800, Han Shen(沈涵) wrote: > --- a/gcc/cfgexpand.c > +++ b/gcc/cfgexpand.c > @@ -1507,15 +1507,34 @@ estimated_stack_frame_size (struct cgraph_node *node) > return size; > } > > +/* Helper routine to check if a record or union contains an array field. */ > + > +static int record_or_union_type_has_array(tree tree_type) { > + tree fields = TYPE_FIELDS(tree_type); > + tree f;
The formatting is wrong in the whole patch, please read the guidelines and fix it up. > + FOR_EACH_REFERENCED_VAR(DECL_STRUCT_FUNCTION(current_function_decl), > var, rvi) Use cfun instead of DECL_STRUCT_FUNCTION (current_function_decl) here. Jakub