summaryrefslogtreecommitdiff
path: root/gcc/sdbout.c
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-05-27 21:54:51 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-05-27 21:54:51 +0000
commitbd1802ca8c3f10cbc6c9c41b4c2b7fcbdbd8d93c (patch)
treeceaac7c55a0279f530aa4e2cd45fb2955931d114 /gcc/sdbout.c
parent0544de95d6ae406b5e23f14ee0ad93932ec1c629 (diff)
downloadgcc-bd1802ca8c3f10cbc6c9c41b4c2b7fcbdbd8d93c.tar.gz
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1104 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sdbout.c')
-rw-r--r--gcc/sdbout.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/sdbout.c b/gcc/sdbout.c
index 4f6c4e59966..1911e506568 100644
--- a/gcc/sdbout.c
+++ b/gcc/sdbout.c
@@ -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)))