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: 4.4 API changes


> From: Diego Novillo <dnovillo@google.com>
> To: Jamie Prescott <jpresss@yahoo.com>
> 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 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);
> 
> 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?


- Jamie


      


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