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:
3d9d988
)
(chain_member_purpose): Make similar to chain_member_value.
author
kenner
<kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 Apr 1995 22:39:11 +0000
(22:39 +0000)
committer
kenner
<kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 Apr 1995 22:39:11 +0000
(22:39 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9454
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/tree.c
patch
|
blob
|
history
diff --git
a/gcc/tree.c
b/gcc/tree.c
index
1b32348
..
2d0d9af
100644
(file)
--- a/
gcc/tree.c
+++ b/
gcc/tree.c
@@
-1725,7
+1725,7
@@
chain_member_value (elem, chain)
return 0;
}
-/* Return nonzero if ELEM is equal to TREE_PURPOSE (
TREE_VALUE (CHAIN))
+/* Return nonzero if ELEM is equal to TREE_PURPOSE (
CHAIN)
for any piece of chain CHAIN. */
int
@@
-1735,7
+1735,7
@@
chain_member_purpose (elem, chain)
while (chain)
{
- if (elem == TREE_PURPOSE (
TREE_VALUE (chain)
))
+ if (elem == TREE_PURPOSE (
chain
))
return 1;
chain = TREE_CHAIN (chain);
}