aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-04-13 18:10:51 +0000
committerRichard Stallman <rms@gnu.org>1993-04-13 18:10:51 +0000
commitd938afd3a4f31c6bf04aa329b8ef1053349c5f61 (patch)
tree30c1a848cea74e67fde57af43cbfaef1488d8d99 /gcc
parenta6b66e343f54a3ed0a8a1c96517e7ec9a009894d (diff)
downloadgcc-d938afd3a4f31c6bf04aa329b8ef1053349c5f61.zip
gcc-d938afd3a4f31c6bf04aa329b8ef1053349c5f61.tar.gz
gcc-d938afd3a4f31c6bf04aa329b8ef1053349c5f61.tar.bz2
(dbxout_type): Make just cross refs for struct types
with TYPE_DECLs marked with DECL_IGNORED_P. From-SVN: r4127
Diffstat (limited to 'gcc')
-rw-r--r--gcc/dbxout.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 02a937c..bb1d569 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -1104,11 +1104,12 @@ dbxout_type (type, full, show_arg_types)
/* Output a structure type. */
if ((TYPE_NAME (type) != 0
-#if 0 /* Tiemann says this creates output tha "confuses GDB".
- Too bad the info is so vague. Hope this doesn't lose. */
+ /* Long ago, Tiemann said this creates output that "confuses GDB".
+ In April 93, mrs@cygnus.com said there is no such problem.
+ The type decls made automatically by struct specifiers
+ are marked with DECL_IGNORED_P in C++. */
&& ! (TREE_CODE (TYPE_NAME (type)) == TYPE_DECL
&& DECL_IGNORED_P (TYPE_NAME (type)))
-#endif
&& !full)
|| TYPE_SIZE (type) == 0
/* No way in DBX fmt to describe a variable size. */