decl.c (push_local_binding): Also wrap used decls in a TREE_LIST.
authorJason Merrill <jason@gcc.gnu.org>
Tue, 26 Jan 1999 00:50:29 +0000 (19:50 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 26 Jan 1999 00:50:29 +0000 (19:50 -0500)
commita06d48ef02e4328a8aa8de2441cb86bf3fb73a64
treecc45380b3dbb54f5294910cb9c428b52dcca69f5
parent9602dbfbf43612466a24ed90a876dcc7aba1d465
decl.c (push_local_binding): Also wrap used decls in a TREE_LIST.

* decl.c (push_local_binding): Also wrap used decls in a TREE_LIST.
(poplevel): Handle that.  Fix logic for removing TREE_LISTs.
(cat_namespace_levels): Don't loop forever.
Fixes 733Y14.
* typeck.c (build_reinterpret_cast): Fix typo in duplicated test.

From-SVN: r24867
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/typeck.c