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: Parameter not passed in call expr


Hi,

Ian Lance Taylor <iant@google.com> writes:

> ludovic.courtes@inria.fr (Ludovic CourtÃs) writes:
>
>>   DECL_INITIAL (decl) =
>>     build_block (NULL_TREE, NULL_TREE, decl, NULL_TREE);
>>   DECL_SAVED_TREE (decl) =
>>     build_call_expr (built_in_decls[BUILT_IN_PUTS], 1, parm);
>
> I would normally expect DECL_SAVED_TREE to be a BLOCK.

AFAICS itâs often a statement list or a BIND expression, and a single
statement appears to work too (same problem with a statement list).
I think the problem lies elsewhere...

Thanks,
Ludoâ.


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