This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Don't generate debuginfo for cpool refs
- From: Andrew Haley <aph at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: Tue, 4 Jul 2006 16:25:40 +0100
- Subject: Don't generate debuginfo for cpool refs
We're generating spurious debuginfo for dummy variables created by the
gcj FE.
Andrew.
2006-07-04 Andrew Haley <aph@redhat.com>
* class.c (build_fieldref_cache_entry): Set DECL_IGNORED_P on the
entry.
Index: class.c
===================================================================
--- class.c (revision 115033)
+++ class.c (working copy)
@@ -1130,6 +1130,7 @@
TREE_PUBLIC (decl) = 0;
DECL_EXTERNAL (decl) = 0;
DECL_ARTIFICIAL (decl) = 1;
+ DECL_IGNORED_P (decl) = 1;
pushdecl_top_level (decl);
}
return decl;