namespace.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53828
138bc75d-0d04-0410-961f-
82ee72b054a4
+2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
+
+ * tree.c (decl_type_context): Return NULL_TREE if decl's context is a
+ namespace.
+
2002-05-24 Andreas Jaeger <aj@suse.de>
* ggc-page.c (alloc_page): Cast variables of type size_t to
while (context)
{
+ if (TREE_CODE (context) == NAMESPACE_DECL)
+ return NULL_TREE;
+
if (TREE_CODE (context) == RECORD_TYPE
|| TREE_CODE (context) == UNION_TYPE
|| TREE_CODE (context) == QUAL_UNION_TYPE)