[Bug java/23891] Problem folding static fields across packages
mckinlay at redhat dot com
gcc-bugzilla@gcc.gnu.org
Thu Sep 15 00:09:00 GMT 2005
------- Additional Comments From mckinlay at redhat dot com 2005-09-15 00:08 -------
The problem is that fold_constant_for_init() saves the current_class state when
resolving other dependent constants, but not the current package
(ctxp->package). If a constant in another package is referenced, then when
resolving/folding the value of that constant, the wrong package context is used.
I'm testing a patch.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |mckinlay at redhat dot com
|dot org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-09-15 00:08:33
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23891
More information about the Java-prs
mailing list