This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] for PR17474
Hello,
> > hmmm.... using arr as a type mem tag seems to just work. Creating new
> > type tag will not just work. It would also be necessary to create the
> > ssa form for it (adding phi nodes wherever phi nodes for arr are, etc.).
> > It just does not seem to be worth the trouble.
> >
> It is worth the trouble. Do not hack the alias system like this. It
> will find a way of biting you back.
what about just giving the decls separate TMT from the beginning, and
not using them in virtual operands? This seems to solve the problem,
and also it would be cleaner -- the only things that would occur
as virtual operands would then be memory tags.
Zdenek