Commit 1559e387 by Jason Merrill

fix memoize

From-SVN: r18792
parent 9c65eeca
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment