gcc-bugs@gcc.gnu.org
[Top] [All Lists]

[Bug java/23891] Problem folding static fields across packages

Subject: [Bug java/23891] Problem folding static fields across packages
From: "cvs-commit at gcc dot gnu dot org"
Date: 15 Sep 2005 14:13:20 -0000
------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-09-15 
14:13 -------
Subject: Bug 23891

CVSROOT:        /cvs/gcc
Module name:    gcc
Changes by:     bryce@xxxxxxxxxxx       2005-09-15 14:13:06

Modified files:
        gcc/java       : ChangeLog java-tree.h jcf-parse.c parse.y 

Log message:
        2005-09-14  Bryce McKinlay  <mckinlay@xxxxxxxxxx>
        
        PR java/23891
        * parse.y (maybe_create_class_interface_decl): Set TYPE_PACKAGE for
        the newly created type. Set import lists here, not in create_class.
        (jdep_resolve_class): Set current_class.
        (do_resolve_class): Use current_class's TYPE_PACKAGE to determine
        the current package context, not ctxp->package.
        (cicp_cache): Removed.
        (class_in_current_package): Simplify implementation using
        TYPE_PACKAGE.
        * jcf-parse.c (give_name_to_class): Set TYPE_PACKAGE.
        * java-tree.h (TYPE_PACKAGE): New macro.
        (struct lang_type): New member 'package'.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gcc&r1=1.1663&r2=1.1664
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/java-tree.h.diff?cvsroot=gcc&r1=1.243&r2=1.244
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/jcf-parse.c.diff?cvsroot=gcc&r1=1.188&r2=1.189
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/parse.y.diff?cvsroot=gcc&r1=1.554&r2=1.555



-- 


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

<Prev in Thread] Current Thread [Next in Thread>