Creating a function dynamically

Taro Okumichi tarookumichi@gmail.com
Thu Nov 12 08:25:00 GMT 2009


>Can anyone tell me what I am doing wrong. The compiler oututs
>__trace__int(0) instead of using the function parameter as an argument:
> _trace_f1(int a,int b) {
>   __trace_int(a);
>  ...

Got the answer: I was missing
DECL_ARG_TYPE(argdecl) = TREE_TYPE(param);



More information about the Gcc mailing list