• mmitchel's avatar
    * decl2.c (finish_anon_union): Generalize error messages to handle · c8470848
    mmitchel authored
    	anonymous structures.
    	* init.c (perform_member_init): Remove `name' parameter.
    	(build_field_list): New function.
    	(sort_member_init): Handle anonymous union initialization order
    	correctly.  Check for multiple initializations of the same union.
    	(emit_base_init): Don't look up fields by name here.
    	(expand_member_init): Record the result of name lookup for future
    	reference.
    	* typeck.c (build_component_ref): Fix formatting.
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33963 138bc75d-0d04-0410-961f-82ee72b054a4
    c8470848
init.c 99.6 KB