OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
373dfaa
)
(decl_function_context): Handle QUAL_UNION_TYPE.
author
wilson
<wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 31 Oct 1996 18:24:42 +0000
(18:24 +0000)
committer
wilson
<wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 31 Oct 1996 18:24:42 +0000
(18:24 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13083
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/tree.c
patch
|
blob
|
history
diff --git
a/gcc/tree.c
b/gcc/tree.c
index
a5b67dd
..
eb9d7b1
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);