Quoting Tom Tromey <[EMAIL PROTECTED]>:
"Antoine" == Antoine Eiche <[EMAIL PROTECTED]> writes:
Without more information I don't know how to answer your question.
But I do have a question for you...
Antoine> I must calculate the address of an element'
Dear all,
I must calculate the address of an element's array.
If the size of an element is one integer it's good.
I do like that:
new_rhs=fold_build2(PLUS_EXPR,TREE_TYPE(TREE_OPERAND(rhs,1)),
build1(ADDR_EXPR, build_pointer_type (TREE_TYPE
(array)),array),
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?
>
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
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
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