This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re: Re: help:how to get the Nth argument stmt from CALL_EXPR stmt tree


Daniel Berlin,您好!

	
	given

int a1,a2,a3,a4;
	a1 = 1 ;
	a2 = 2 ;
	a3 = 3 ;
 	a4 = 4 ;
	foo(a1+a2,a3+a4);

	I want get foo function first argument stmt tree--(a1+a2). then look the argument stmt tree OPERAND to find a1 and a2 variable.

	kind enough to give me any suggestions  ,thanks

======= 2005-07-06 11:40:00 您在来信中写道:=======
>
>i'm not sure i understand.
>
>do you want to get, given
>
>a_5 = 69
>foo(a_5)
>
>the a_5 = 69 part?
>Or a pointer a_5 inside the call to foo(..)
>
>
>
>


= = = = = = = = = = = = = = = = = = = =
			


				
        alert7
        bugs@whitecell.org
          2005-07-11




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]