diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1996-10-31 10:24:42 -0800 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1996-10-31 10:24:42 -0800 |
commit | c647c98577530b16007abc2006efdfda3d917fce (patch) | |
tree | 61e8ea08fd50eaf38c419582b81abe6e6ac490ab /gcc | |
parent | 691c003dccd336c1350119b2f7d4b54c46e2a5fb (diff) | |
download | gcc-c647c98577530b16007abc2006efdfda3d917fce.zip gcc-c647c98577530b16007abc2006efdfda3d917fce.tar.gz gcc-c647c98577530b16007abc2006efdfda3d917fce.tar.bz2 |
(decl_function_context): Handle QUAL_UNION_TYPE.
From-SVN: r13083
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/tree.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |