This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/43260] Java static class members lack DWARF location info



------- Comment #2 from jakub at gcc dot gnu dot org  2010-05-25 16:19 -------
Subject: Bug 43260

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


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43260


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]