Subject: Re: addArg

From: Zheng Gengbin <[email-masked]>
Date: Thu, 10 Oct 1996 09:18:41 +0800 (EAT)

On Wed, 9 Oct 1996, Guansong Zhang wrote:

> I remeber last time you said that the addArg function in SgCallStmt has a bug,
> could you please tell me what is the problem?
> 
> Guansong
> 

	That's a small bug . see

	NODE_OPERAND0(tail)=newExpr(EXPR_LIST,NULL, arg.thellnd);

	newExpr need 4 arguments , but this statement only provide 3 .This
cause segment fault in our HP workstation .
	So , I modified that to

	NODE_OPERAND0(tail)=newExpr(EXPR_LIST,NULL, arg.thellnd,NULL);
                                                               ^^^^^^
Zheng