re PR middle-end/44103 (New Java test failures)
authorNathan Froyd <froydnj@codesourcery.com>
Fri, 14 May 2010 20:47:39 +0000 (20:47 +0000)
committerNathan Froyd <froydnj@gcc.gnu.org>
Fri, 14 May 2010 20:47:39 +0000 (20:47 +0000)
commitc4e64f39d9f8ce4af60222415b522a4b07f8b86c
tree7d7e5aff53f6511668480301f6544e42fe904baa
parentbc8ddfe63536d01d70f9dac63b8e47241cccdea5
re PR middle-end/44103 (New Java test failures)

PR 44103
* java-tree.h (START_RECORD_CONSTRUCTOR): Change first argument to a
vector.  Move call to build_constructor...
(FINISH_RECORD_CONSTRUCTOR): ...here.  Add necessary arguments.  Clear
TREE_CONSTANT on the constructor.
(PUSH_SUPER_VALUE): Change first argument to a vector.
(PUSH_FIELD_VALUE): Likewise.
* resource.c (compile_resource_data): Update calls to above macros.
* constants.c (build_constants_constructor): Likewise.
* class.c (build_utf8_ref): Likewise.
(make_field_value): Likewise.
(make_method_value): Likewise.
(add_table_and_syms): New function.
(make_class_data): Call it.  Update calls to above macros.
(build_symbol_table_entry): New function.
(build_symbol_entry): Call it.  Update calls to above macros.
(emit_symbol_table): Likewise.
(make_catch_class_record): Update calls to above macros.
(build_assertion_table_entry): New function.
(add_assertion_table_entry): Call it.
(emit_assertion_table): Likewise.

From-SVN: r159414
gcc/java/ChangeLog
gcc/java/class.c
gcc/java/constants.c
gcc/java/java-tree.h
gcc/java/resource.c