This is the mail archive of the
mailing list for the GCC project.
Re: 4.4 API changes
> From: Diego Novillo <email@example.com>
> To: Jamie Prescott <firstname.lastname@example.org>
> Cc: email@example.com
> 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 code I cannot figure out
> > how to translate.
> > Before, I was building the TRUE and FALSE instruction list using
> > and then a:
> > build3(COND_EXPR, void_type_node, cond, a_case, b_case);
> Are you trying to generate gimple or generic? Both are different data
> structures now.
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?