* cp-name-parser.y (cp_merge_demangle_parse_infos): Don't use

obstack_empty_p.
This commit is contained in:
Andreas Schwab 2011-12-17 20:10:57 +00:00
parent a3e3e961b4
commit dd274a34d2
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2011-12-17 Andreas Schwab <schwab@linux-m68k.org>
* cp-name-parser.y (cp_merge_demangle_parse_infos): Don't use
obstack_empty_p.
2011-12-17 Mark Kettenis <kettenis@gnu.org>
* amd64obsd-tdep.c (amd64obsd_init_abi): Don't set

View File

@ -2029,9 +2029,6 @@ cp_merge_demangle_parse_infos (struct demangle_parse_info *dest,
cp_demangled_parse_info_free is called. */
src->info = NULL;
/* Assert if the SRC obstack is not empty. */
gdb_assert (obstack_empty_p (&src->obstack));
/* Free SRC. */
cp_demangled_name_parse_free (src);
}