diff options
author | lauras <lauras@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-07-30 02:30:52 +0000 |
---|---|---|
committer | lauras <lauras@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-07-30 02:30:52 +0000 |
commit | 65f4cf9c8d6b16098826aeae36b4257201a4ffba (patch) | |
tree | 17345bf96a8e18558d9570c89caead4ccc1f2122 /gcc/java | |
parent | a3fdb3c5f40a39919dc57f31293f8fe5368dc349 (diff) | |
download | gcc-65f4cf9c8d6b16098826aeae36b4257201a4ffba.tar.gz |
gcc:
2012-07-27 Laurynas Biveinis <laurynas.biveinis@gmail.com>
Steven Bosscher <steven@gcc.gnu.org>
* 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 <laurynas.biveinis@gmail.com>
* 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 <laurynas.biveinis@gmail.com>
* include/line-map.h (line_map_macro): Use the "atomic" GTY option
for the macro_locations field.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189951 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/java/jcf.h | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 78a34940b1f..8fd18aaee2c 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,8 @@ +2012-07-30 Laurynas Biveinis <laurynas.biveinis@gmail.com> + + * jcf.h (CPool): Use the "atomic" GTY option for the tags field. + (bootstrap_method): Likewise for the bootstrap_arguments field. + 2012-07-16 Steven Bosscher <steven@gcc.gnu.org> * java-gimplify.c Include dumpfile.h instead of tree-dump.h diff --git a/gcc/java/jcf.h b/gcc/java/jcf.h index 40b4ae2d278..38c035fe439 100644 --- a/gcc/java/jcf.h +++ b/gcc/java/jcf.h @@ -82,7 +82,7 @@ typedef struct GTY(()) CPool { /* The constant_pool_count. */ int count; - uint8* GTY((length ("%h.count"))) tags; + uint8 * GTY((atomic)) tags; union cpool_entry * GTY((length ("%h.count"), desc ("cpool_entry_is_tree (%1.tags%a)"))) data; @@ -91,7 +91,7 @@ typedef struct GTY(()) CPool { typedef struct GTY(()) bootstrap_method { unsigned method_ref; unsigned num_arguments; - unsigned* GTY((length ("%h.num_arguments"))) bootstrap_arguments; + unsigned * GTY((atomic)) bootstrap_arguments; } bootstrap_method; typedef struct GTY(()) BootstrapMethods { |