From: Jim Wilson Date: Thu, 31 Oct 1996 18:24:42 +0000 (-0800) Subject: (decl_function_context): Handle QUAL_UNION_TYPE. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c647c98577530b16007abc2006efdfda3d917fce;p=gcc.git (decl_function_context): Handle QUAL_UNION_TYPE. From-SVN: r13083 --- diff --git a/gcc/tree.c b/gcc/tree.c index a5b67dd7002..eb9d7b13dda 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);