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: [tree-ssa] a tree-ssa beginner question - creating new variables





> > what's the correct way to create temp variables ?
>   ei->temp = create_tmp_var (TREE_TYPE (ei->expr), "pretmp");
>   add_referenced_tmp_var (ei->temp);
>
> Adding it to the referenced vars will set the UID and create the
> annotation for you.

thanks!

dorit


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