aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Taylor <dtaylor@emc.com>2003-10-22 14:28:09 +0000
committerJason Merrill <jason@gcc.gnu.org>2003-10-22 10:28:09 -0400
commita354c7d675cad0dfd66d559e19555cd9fdd37897 (patch)
tree94ad7f50ed29a96806207e917e28890772391332 /gcc
parent2461c08bab8cb233fbebae5a074b225395353a9e (diff)
downloadgcc-a354c7d675cad0dfd66d559e19555cd9fdd37897.zip
gcc-a354c7d675cad0dfd66d559e19555cd9fdd37897.tar.gz
gcc-a354c7d675cad0dfd66d559e19555cd9fdd37897.tar.bz2
re PR debug/12500 (stabs debug info -- void no longer a predefined / builtin type)
PR debug/12500 * dbxout.c (dbxout_typedefs): Use COMPLETE_OR_VOID_TYPE_P. From-SVN: r72798
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/dbxout.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a25e785..a6f80ea 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2003-10-22 David Taylor <dtaylor@emc.com>
+
+ PR debug/12500
+ * dbxout.c (dbxout_typedefs): Use COMPLETE_OR_VOID_TYPE_P.
+
2003-10-22 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* config/alpha/alpha.c (function_value [ENABLE_CHECKING]): Don't call
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 84700b4..ef04c83 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -553,7 +553,7 @@ dbxout_typedefs (tree syms)
tree type = TREE_TYPE (syms);
if (TYPE_NAME (type)
&& TREE_CODE (TYPE_NAME (type)) == TYPE_DECL
- && COMPLETE_TYPE_P (type)
+ && COMPLETE_OR_VOID_TYPE_P (type)
&& ! TREE_ASM_WRITTEN (TYPE_NAME (type)))
dbxout_symbol (TYPE_NAME (type), 0);
}