search.c (get_base_distance): Remove assert.
authorJason Merrill <jason@yorick.cygnus.com>
Fri, 25 Sep 1998 21:34:50 +0000 (21:34 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 25 Sep 1998 21:34:50 +0000 (17:34 -0400)
commit18141e4c189dc4a75e876910624301dd82475758
treeda1e28167f911e1a7bf564a7c5cb9effed7fa0af
parentb8d446d46eddd7839040545a0175c9f60c81c63f
search.c (get_base_distance): Remove assert.

* search.c (get_base_distance): Remove assert.
* decl2.c (build_anon_union_vars): Don't process a field with no
name.
(finish_anon_union): Also complain about local anon unions with no
members.

From-SVN: r22597
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/cp/search.c