Don't generate debuginfo for cpool refs

Andrew Haley aph@redhat.com
Tue Jul 4 15:25:00 GMT 2006


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;



More information about the Java-patches mailing list