projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
691c003
)
(decl_function_context): Handle QUAL_UNION_TYPE.
author
Jim Wilson
<wilson@gcc.gnu.org>
Thu, 31 Oct 1996 18:24:42 +0000
(10:24 -0800)
committer
Jim Wilson
<wilson@gcc.gnu.org>
Thu, 31 Oct 1996 18:24:42 +0000
(10:24 -0800)
From-SVN: r13083
gcc/tree.c
patch
|
blob
|
history
diff --git
a/gcc/tree.c
b/gcc/tree.c
index a5b67dd7002cd55c405d3e139466e6af33b25387..eb9d7b13dda5df0d46d70c24656dd1933cdf40f0 100644
(file)
--- 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);