[tree-ssa] a tree-ssa beginner question - creating new variables

Daniel Berlin dberlin@dberlin.org
Sun Dec 21 22:26:00 GMT 2003


On Dec 21, 2003, at 1:39 PM, Dorit Naishlos wrote:
>
>
> 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.



More information about the Gcc mailing list