mark symbols passed as non-const args modified
This commit makes the compiler mark array symbols which are passed as non-const argument modified.
This commit is contained in:
parent
c363c5b1de
commit
293c9a3b31
@ -2274,7 +2274,8 @@ static int nesting=0;
|
||||
check_tagmismatch_multiple(arg[argidx].tags,arg[argidx].numtags,lval.tag,-1);
|
||||
if (lval.tag!=0)
|
||||
append_constval(&taglst,arg[argidx].name,lval.tag,0);
|
||||
// ??? set uWRITTEN?
|
||||
if (lval.sym!=NULL && (arg[argidx].usage & uCONST)==0)
|
||||
markusage(lval.sym,uWRITTEN);
|
||||
argidx++; /* argument done */
|
||||
break;
|
||||
} /* switch */
|
||||
|
Loading…
x
Reference in New Issue
Block a user