aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/class.c
diff options
context:
space:
mode:
authorAndrew Haley <aph@redhat.com>2006-07-04 15:26:42 +0000
committerAndrew Haley <aph@gcc.gnu.org>2006-07-04 15:26:42 +0000
commit8a71d22bdd2bc14145e72606ccd9dac1ef60fd6a (patch)
tree47e5a9b38aa75c3437c517ae948cfed86a064620 /gcc/java/class.c
parentdbc02e7f4c2ff123b6ff1b9ccea612f6ecef4bcc (diff)
downloadgcc-8a71d22bdd2bc14145e72606ccd9dac1ef60fd6a.zip
gcc-8a71d22bdd2bc14145e72606ccd9dac1ef60fd6a.tar.gz
gcc-8a71d22bdd2bc14145e72606ccd9dac1ef60fd6a.tar.bz2
class.c (build_fieldref_cache_entry): Set DECL_IGNORED_P on the entry.
2006-07-04 Andrew Haley <aph@redhat.com> * class.c (build_fieldref_cache_entry): Set DECL_IGNORED_P on the entry. From-SVN: r115178
Diffstat (limited to 'gcc/java/class.c')
-rw-r--r--gcc/java/class.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/java/class.c b/gcc/java/class.c
index 10992b8..cdb298e 100644
--- a/gcc/java/class.c
+++ b/gcc/java/class.c
@@ -1130,6 +1130,7 @@ build_fieldref_cache_entry (int index, tree fdecl ATTRIBUTE_UNUSED)
TREE_PUBLIC (decl) = 0;
DECL_EXTERNAL (decl) = 0;
DECL_ARTIFICIAL (decl) = 1;
+ DECL_IGNORED_P (decl) = 1;
pushdecl_top_level (decl);
}
return decl;