OSDN Git Service

*** empty log message ***
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 May 1992 21:54:51 +0000 (21:54 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 May 1992 21:54:51 +0000 (21:54 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1104 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/sdbout.c

index 4f6c4e5..1911e50 100644 (file)
@@ -597,6 +597,9 @@ sdbout_symbol (decl, local)
   int regno = -1;
   char *name;
 
+  if (DECL_IGNORED_P (decl))
+    return;
+
   sdbout_one_type (type);
 
   switch (TREE_CODE (decl))
@@ -801,6 +804,9 @@ sdbout_toplevel_data (decl)
 {
   tree type = TREE_TYPE (decl);
 
+  if (DECL_IGNORED_P (decl))
+    return;
+
   if (! (TREE_CODE (decl) == VAR_DECL
         && GET_CODE (DECL_RTL (decl)) == MEM
         && DECL_INITIAL (decl)))