From: David Taylor Date: Wed, 22 Oct 2003 14:28:09 +0000 (+0000) Subject: re PR debug/12500 (stabs debug info -- void no longer a predefined / builtin type) X-Git-Tag: releases/gcc-3.4.0~2809 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a354c7d675cad0dfd66d559e19555cd9fdd37897;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a25e785a1d89..a6f80eae810f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-10-22 David Taylor + + PR debug/12500 + * dbxout.c (dbxout_typedefs): Use COMPLETE_OR_VOID_TYPE_P. + 2003-10-22 Richard Kenner * config/alpha/alpha.c (function_value [ENABLE_CHECKING]): Don't call diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 84700b447f6d..ef04c8311340 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); }