Commit 40fa690d authored by Russ Cox's avatar Russ Cox

fix handling of *f() = 1

R=ken
OCL=17625
CL=17641
parent 0061e561
......@@ -937,6 +937,8 @@ loop:
case OIND:
if(top == Etop)
goto nottop;
if(top == Elv) // even if n is lvalue, n->left is rvalue
top = Erv;
walktype(n->left, top);
if(n->left == N)
goto ret;
......
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