projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c65eec
)
fix memoize
author
Jason Merrill
<jason@gcc.gnu.org>
Tue, 24 Mar 1998 00:27:42 +0000
(19:27 -0500)
committer
Jason Merrill
<jason@gcc.gnu.org>
Tue, 24 Mar 1998 00:27:42 +0000
(19:27 -0500)
From-SVN: r18792
gcc/cp/search.c
patch
|
blob
|
history
diff --git
a/gcc/cp/search.c
b/gcc/cp/search.c
index fe0a3a419662bb8e6e9ff5ed9af38b1f1ad85aa7..a0668456b4543802413f6bb9f2bb323811315b59 100644
(file)
--- a/
gcc/cp/search.c
+++ b/
gcc/cp/search.c
@@
-1265,6
+1265,9
@@
lookup_field (xbasetype, name, protect, want_type)
if (rval || lookup_fnfields_here (type, name) >= 0)
{
+ if (entry)
+ TREE_VALUE (entry) = rval;
+
if (rval)
{
if (want_type)