From c647c98577530b16007abc2006efdfda3d917fce Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Thu, 31 Oct 1996 10:24:42 -0800 Subject: [PATCH] (decl_function_context): Handle QUAL_UNION_TYPE. From-SVN: r13083 --- gcc/tree.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/tree.c b/gcc/tree.c index a5b67dd..eb9d7b1 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -4242,7 +4242,8 @@ decl_function_context (decl) while (context && TREE_CODE (context) != FUNCTION_DECL) { if (TREE_CODE (context) == RECORD_TYPE - || TREE_CODE (context) == UNION_TYPE) + || TREE_CODE (context) == UNION_TYPE + || TREE_CODE (context) == QUAL_UNION_TYPE) context = TYPE_CONTEXT (context); else if (TREE_CODE (context) == TYPE_DECL) context = DECL_CONTEXT (context); -- 2.7.4