summaryrefslogtreecommitdiffstats
path: root/gcc/java/parse.y
diff options
context:
space:
mode:
authorapbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4>2000-06-01 00:28:32 +0000
committerapbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4>2000-06-01 00:28:32 +0000
commit032297ce19c2ee30e957f988cb624fef033e80ac (patch)
tree3b7ca57de3258b05f30ab8a1b1b6ddd2f27dc31b /gcc/java/parse.y
parentf3f72fd4e813dbd555f8a7463e1406add6c3ec6e (diff)
downloadppe42-gcc-032297ce19c2ee30e957f988cb624fef033e80ac.tar.gz
ppe42-gcc-032297ce19c2ee30e957f988cb624fef033e80ac.zip
2000-05-31 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (resolve_field_access): Complete the DECL_INITIAL tree before using it as the accessed field. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34320 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/parse.y')
-rw-r--r--gcc/java/parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/parse.y b/gcc/java/parse.y
index c2010904a1d..0681e848019 100644
--- a/gcc/java/parse.y
+++ b/gcc/java/parse.y
@@ -8606,7 +8606,7 @@ resolve_field_access (qual_wfl, field_decl, field_type)
&& JPRIMITIVE_TYPE_P (TREE_TYPE (decl))
&& DECL_INITIAL (decl))
{
- field_ref = DECL_INITIAL (decl);
+ field_ref = java_complete_tree (DECL_INITIAL (decl));
static_final_found = 1;
}
else
OpenPOWER on IntegriCloud