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] Make SSA CCP functional [patch]


On 10 Aug 2002 20:34:03 -0400, Diego Novillo <dnovillo@redhat.com> wrote:

> On Sat, 2002-08-10 at 20:22, Jason Merrill wrote:
>
>> This stuff all seems to be rather fragile; I think we need an
>> unshare_all_trees function, to be called both before and after
>> simplification.  That should avoid any more problems like this, and produce
>> less copying into the bargain.  But I won't get to this until I finish the
>> l-i SIMPLE work.

> Agreed.  How about the idea we discussed before of marking shared trees
> first?

That seems no less fragile than the current situation; we'd still need to
remember to mark them appropriately.  Experience indicates that we aren't
clever enough.  :)

> There are three things that we must not unshare: decls, types and
> SAVE_EXPRs.

Yep.

Jason


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