This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r218105 - in /branches/tree-type/gcc: ChangeLog...


Author: amacleod
Date: Wed Nov 26 23:51:50 2014
New Revision: 218105

URL: https://gcc.gnu.org/viewcvs?rev=218105&root=gcc&view=rev
Log:

	* attribs.c (process_attribute_spec): New.  Factored from
	decl_attribute to return a valid attribute spec.
	(finalize_type_attribute): New.  Factored from decl_attribute to process
	attributes for types after error checking.
	(type_attributes): New.  Factored type specific portions of
	decl_attributes.
	(decl_attributes): Moved all type processing to other functions.
	* attribs.h (type_attributes): Export.
	* c/c-decl.c (groktypename, grokdeclarator, finish_struct,
	finish_enum): Call type_attributes.
	* c-family/c-common.c (handle_tm_attribute): Call type_attributes.
	* cp/decl.c (grokdeclarator): Call type_attributes.
	* cp/decl2.c (cplus_decl_attributes): Call type_attributes when node is
	a type.
	* ada/gcc-interface/utils.c (finish_record_type): Call type_attribute.
	(process_attributes): Call type_attribute or decl_attribute as needed.
	* config/i386/i386.c (ix86_handle_tm_regparm_attribute): Call
	type_attribute or decl_attribute as required.
	(ix86_init_tm_builtins ): Call type_attributes.

Modified:
    branches/tree-type/gcc/ChangeLog.tree-type
    branches/tree-type/gcc/ada/gcc-interface/utils.c
    branches/tree-type/gcc/attribs.c
    branches/tree-type/gcc/attribs.h
    branches/tree-type/gcc/c-family/c-common.c
    branches/tree-type/gcc/c/c-decl.c
    branches/tree-type/gcc/config/i386/i386.c
    branches/tree-type/gcc/cp/decl.c
    branches/tree-type/gcc/cp/decl2.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]