Fix DWARF1/C++ abort with member function in class nested in another function.
authorJim Wilson <wilson@cygnus.com>
Wed, 28 Oct 1998 14:09:31 +0000 (14:09 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Wed, 28 Oct 1998 14:09:31 +0000 (06:09 -0800)
commit0a4be913a4f47e2d22dc63a4b3eb3d851fd6bd6d
tree7b718909e0464f02fafc2180ff6fa83691cbd1b3
parent22eed1e6784af1d88a4e0f1773f2d6952c2c493c
Fix DWARF1/C++ abort with member function in class nested in another function.

* dwarfout.c (dwarfout_file_scope_decl): If DECL_CONTEXT, don't abort
if pending_types is non-zero.
(dwarfout_finish): Verify pending_types is zero before finishing.

From-SVN: r23404
gcc/ChangeLog
gcc/dwarfout.c