This is the mail archive of the gcc-patches@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-branch]: Patch to make sure simplified pieces offor_expr is unshared.


On Sat, 27 Jul 2002, Jason Merrill wrote:

> You should only need to copy it the first time.

Then it would just be shared elsewhere (I tested this, and it was).
Remember, we are asking for a tree that is on the list of trees to add to 
pre-conditions/etc.
Thus, it'll be added somewhere else *besides* EXPR_STMT_EXPR 
(FOR_INIT_STMT) and FOR_EXPR (stmt).

If you don't copy it in both cases, one of them will still be shared.

> 
> Jason
> 
> 


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