r202917 - in /branches/C11-atomic/gcc: ChangeLo...

amacleod@gcc.gnu.org amacleod@gcc.gnu.org
Wed Sep 25 18:41:00 GMT 2013


Author: amacleod
Date: Wed Sep 25 18:41:01 2013
New Revision: 202917

URL: http://gcc.gnu.org/viewcvs?rev=202917&root=gcc&view=rev
Log:

	* tree-core.h (enum cv_qualifier): Add TYPE_QUAL_ATOMIC.
	(enum tree_index): Add TI_ATOMIC{QHSDT}I_TYPE.
	(struct tree_base): Add atomic_flag field.
	* tree.h (TYPE_ATOMIC): New accessor macro.
	(TYPE_QUALS, TYPE_QUALS_NO_ADDR_SPACE): Add TYPE_QUAL_ATOMIC.
	(TYPE_QUALS_NO_ADDR_SPACE_NO_ATOMIC): New macro.
	(atomic{QHSDT}I_type_node): Add new type nodes.
	* print-tree.c (print_node): Print atomic qualifier.
	* tree-pretty-print.c (dump_generic_node): Print atomic type attribute.
	* tree.c (set_type_quals): Set TYPE_ATOMIC.
	(find_atomic_core_type): New.  Function to get atomic type from size.
	(build_qualified_type): Tweak for atomic qualifier overrides.
	(build_atomic_base): New.  Build atomic base type node.
	(build_common_tree_nodes): Build atomic{QHSDT}I_type_node, allowing
	for override with target hook.



Modified:
    branches/C11-atomic/gcc/ChangeLog
    branches/C11-atomic/gcc/print-tree.c
    branches/C11-atomic/gcc/tree-core.h
    branches/C11-atomic/gcc/tree-pretty-print.c
    branches/C11-atomic/gcc/tree.c
    branches/C11-atomic/gcc/tree.h



More information about the Gcc-cvs mailing list