From c0fd34971d2d719227d63ed8d069089862ec9c9f Mon Sep 17 00:00:00 2001 From: Laurynas Biveinis Date: Mon, 30 Jul 2012 02:30:52 +0000 Subject: gengtype.c (adjust_field_type): Diagnose duplicate "length" option applications and option being applied to... gcc: 2012-07-27 Laurynas Biveinis Steven Bosscher * gengtype.c (adjust_field_type): Diagnose duplicate "length" option applications and option being applied to arrays of atomic types. (walk_type): Allow "atomic" option on strings too. * dwarf2out.h (struct dw_vec_struct): Use the "atomic" GTY option for the array field. * vec.h: Describe the atomic object "A" type of the macros in the header comment. (VEC_T_GTY_ATOMIC, DEF_VEC_A, DEF_VEC_ALLOC_A): Define. * emit-rtl.c (locations_locators_vals): use the atomic object vector. * doc/gty.texi: Clarify that GTY option "length" is only for arrays of non-atomic objects. Fix typo in the description of the "atomic" option. gcc/java: 2012-07-24 Laurynas Biveinis * jcf.h (CPool): Use the "atomic" GTY option for the tags field. (bootstrap_method): Likewise for the bootstrap_arguments field. libcpp: 2012-07-24 Laurynas Biveinis * include/line-map.h (line_map_macro): Use the "atomic" GTY option for the macro_locations field. Co-Authored-By: Steven Bosscher From-SVN: r189951 --- gcc/emit-rtl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/emit-rtl.c') diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 3431e98..e0c4979 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -5910,8 +5910,8 @@ gen_hard_reg_clobber (enum machine_mode mode, unsigned int regno) static VEC(int,heap) *block_locators_locs; static GTY(()) VEC(tree,gc) *block_locators_blocks; static VEC(int,heap) *locations_locators_locs; -DEF_VEC_O(location_t); -DEF_VEC_ALLOC_O(location_t,heap); +DEF_VEC_A(location_t); +DEF_VEC_ALLOC_A(location_t,heap); static VEC(location_t,heap) *locations_locators_vals; int prologue_locator; int epilogue_locator; -- cgit v1.1