> This is the varargs code, and I currently solved it by using
> append_to_statement_list(), and then adding the resulting tree to the pre_p
> and post_p using gimplify_and_add(). Is it OK?
Take a look at mainstream ports (x86, rs6000, etc) and use them as a model.
--
Eric Botcazou
> From: Diego Novillo
> To: Jamie Prescott
> Cc: gcc@gcc.gnu.org
> Sent: Friday, May 15, 2009 2:40:15 PM
> Subject: Re: 4.4 API changes
>
> On Fri, May 15, 2009 at 17:23, Jamie Prescott wrote:
>
> > I managed to migrate my code to 4.4, but I've some
On Fri, May 15, 2009 at 17:23, Jamie Prescott wrote:
> I managed to migrate my code to 4.4, but I've some code I cannot figure out
> how to translate.
> Before, I was building the TRUE and FALSE instruction list using
> gimplify_and_add(),
> and then a:
>
> build3(COND_EXPR, void_type_node, con
I managed to migrate my code to 4.4, but I've some code I cannot figure out
how to translate.
Before, I was building the TRUE and FALSE instruction list using
gimplify_and_add(),
and then a:
build3(COND_EXPR, void_type_node, cond, a_case, b_case);
Where 'a_case' and 'b_case' were tree's.
Now I