This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r159828 - in /trunk/gcc/java: ChangeLog class.c...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 25 May 2010 16:19:12 -0000
- Subject: r159828 - in /trunk/gcc/java: ChangeLog class.c...
Author: jakub
Date: Tue May 25 16:19:11 2010
New Revision: 159828
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159828
Log:
PR debug/43260
* java-tree.h (pending_static_fields): New extern declaration.
(java_write_globals): New prototype.
* lang.c (LANG_HOOKS_WRITE_GLOBALS): Define.
* decl.c (java_mark_class_local): When clearing DECL_EXTERNAL
of a static field push it into pending_static_fields vector.
* class.c (pending_static_fields): New variable.
(add_field): If static field is not DECL_EXTERNAL, push it into
pending_static_fields vector.
(java_write_globals): New function.
Modified:
trunk/gcc/java/ChangeLog
trunk/gcc/java/class.c
trunk/gcc/java/decl.c
trunk/gcc/java/java-tree.h
trunk/gcc/java/lang.c