johannes 02/09/17 14:56:51
Modified: gcc dbxout.c
Log:
Make Ira's 'smarter' -g code emit info for objects that are initialized
but not used otherwise. 3047765. Committed as obvious.
Revision Changes Path
1.30 +1 -1 gcc3/gcc/dbxout.c
Index: dbxout.c
===================================================================
RCS file: /cvs/Darwin/gcc3/gcc/dbxout.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- dbxout.c 2002/08/26 05:39:32 1.29
+++ dbxout.c 2002/09/17 21:56:50 1.30
@@ -2255,7 +2255,7 @@
{
tree t;
- if (!TREE_USED (decl))
+ if (!TREE_USED (decl) && !DECL_INITIAL (decl))
DBXOUT_DECR_NESTING_AND_RETURN (0);
/* We now have a used symbol. We need to generate the info for