diff options
author | Richard Stallman <rms@gnu.org> | 1992-05-31 05:03:41 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-05-31 05:03:41 +0000 |
commit | 16d907969ec0e6c45d880c053fe5973561ab3bc0 (patch) | |
tree | edd5705029b1686c390409c67850a05349302c71 /gcc | |
parent | 38bd31fc8eaec677e093abf0342c9c06cadcb57f (diff) | |
download | gcc-16d907969ec0e6c45d880c053fe5973561ab3bc0.zip gcc-16d907969ec0e6c45d880c053fe5973561ab3bc0.tar.gz gcc-16d907969ec0e6c45d880c053fe5973561ab3bc0.tar.bz2 |
*** empty log message ***
From-SVN: r1130
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/sdbout.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/gcc/sdbout.c b/gcc/sdbout.c index 1911e50..e5d36e7 100644 --- a/gcc/sdbout.c +++ b/gcc/sdbout.c @@ -597,10 +597,13 @@ sdbout_symbol (decl, local) int regno = -1; char *name; + sdbout_one_type (type); + +#if 0 /* This loses when functions are marked to be ignored, + which happens in the C++ front end. */ if (DECL_IGNORED_P (decl)) return; - - sdbout_one_type (type); +#endif switch (TREE_CODE (decl)) { @@ -627,6 +630,8 @@ sdbout_symbol (decl, local) /* Done with tagged types. */ if (DECL_NAME (decl) == 0) return; + if (DECL_IGNORED_P (decl)) + return; /* Output typedef name. */ PUT_SDB_DEF (IDENTIFIER_POINTER (DECL_NAME (decl))); @@ -644,6 +649,10 @@ sdbout_symbol (decl, local) if (TREE_EXTERNAL (decl)) return; + /* Ignore __FUNCTION__, etc. */ + if (DECL_IGNORED_P (decl)) + return; + /* If there was an error in the declaration, don't dump core if there is no RTL associated with the variable doesn't exist. */ |