Re: Creating parameters for functions calls

2007-03-30 Thread Antoine Eiche
Daniel Berlin wrote: On 3/30/07, Antoine Eiche <[EMAIL PROTECTED]> wrote: Daniel Berlin wrote: > On 3/27/07, Antoine Eiche <[EMAIL PROTECTED]> wrote: >> Dear all, >> >> I want to insert functions calls during a new pass. > > Which version of GCC? > The problem is to >> create parameters. At this

Re: Creating parameters for functions calls

2007-03-30 Thread Daniel Berlin
On 3/30/07, Antoine Eiche <[EMAIL PROTECTED]> wrote: Daniel Berlin wrote: > On 3/27/07, Antoine Eiche <[EMAIL PROTECTED]> wrote: >> Dear all, >> >> I want to insert functions calls during a new pass. > > Which version of GCC? > The problem is to >> create parameters. At this time, I successfully

Re: Creating parameters for functions calls

2007-03-30 Thread Antoine Eiche
Daniel Berlin wrote: On 3/27/07, Antoine Eiche <[EMAIL PROTECTED]> wrote: Dear all, I want to insert functions calls during a new pass. Which version of GCC? The problem is to create parameters. At this time, I successfully create a function call with two constante as parameter and insert i

Re: Creating parameters for functions calls

2007-03-28 Thread Daniel Berlin
On 3/27/07, Antoine Eiche <[EMAIL PROTECTED]> wrote: Dear all, I want to insert functions calls during a new pass. Which version of GCC? The problem is to create parameters. At this time, I successfully create a function call with two constante as parameter and insert it (I can see that in t

Re: Creating parameters for functions calls

2007-03-28 Thread Antoine Eiche
Thx for your answer, But I believe the problem is not the contruction of the parameters of the function, but the construction of the adress of an array and give it at a function call. Maybe, I don't say good my problem in my previous mail. Example: If I have an array A in a source code, I wan

Re: Creating parameters for functions calls

2007-03-28 Thread Diego Novillo
Antoine Eiche wrote on 03/27/07 13:28: > Thanks for any help in finishing this pass See how omp-low.c builds calls to the child parallel functions (create_omp_child_function).

Creating parameters for functions calls

2007-03-27 Thread Antoine Eiche
Dear all, I want to insert functions calls during a new pass. The problem is to create parameters. At this time, I successfully create a function call with two constante as parameter and insert it (I can see that in the asm's code). But, I want to give the address of an array and a constante