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 java/29495] [ecj] some field & method flags not passed through



------- Comment #2 from tromey at gcc dot gnu dot org  2006-12-05 21:15 -------
Subject: Bug 29495

Author: tromey
Date: Tue Dec  5 21:15:34 2006
New Revision: 119557

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119557
Log:
gcc/java
        PR java/29495:
        * jcf-parse.c (HANDLE_SYNTHETIC_ATTRIBUTE): Mark fields and
        classes as well.
        * class.c (add_field): Handle ACC_SYNTHETIC.
        (add_method_1): Likewise.  Handle bridge and varargs.
        (get_access_flags_from_decl): Handle synthetic, bridge, varargs,
        annotation.
        (set_class_decl_access_flags): Handle synthetic and annotation.
        * java-tree.h (METHOD_BRIDGE): New macro.
        (METHOD_VARARGS): Likewise.
        (TYPE_SYNTHETIC): Likewise.
        (TYPE_ANNOTATION): Likewise.
        (lang_type): New fields 'synthetic' and 'annotation'.
        (lang_decl_func): New fields 'varargs' and 'bridge'.
libjava
        PR java/29495:
        * testsuite/libjava.lang/PR29495.out: New file.
        * testsuite/libjava.lang/PR29495.java: New file.

Added:
   
branches/gcj/gcj-eclipse-merge-branch/libjava/testsuite/libjava.lang/PR29495.java
   
branches/gcj/gcj-eclipse-merge-branch/libjava/testsuite/libjava.lang/PR29495.out
Modified:
    branches/gcj/gcj-eclipse-merge-branch/gcc/java/ChangeLog
    branches/gcj/gcj-eclipse-merge-branch/gcc/java/class.c
    branches/gcj/gcj-eclipse-merge-branch/gcc/java/java-tree.h
    branches/gcj/gcj-eclipse-merge-branch/gcc/java/jcf-parse.c
    branches/gcj/gcj-eclipse-merge-branch/libjava/ChangeLog


-- 


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


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