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] copy-propagation pass


On Mon, 25 Nov 2002 10:25:13 -0800, Aldy Hernandez <aldyh@redhat.com> wrote:

> In talking with Diego, we have found one big problem, which is:
>
>    a = y;
>    y = z;
>    if (a)
>       blah;

Seems like SSA should handle this.

a = y1
y2 = z;
if (a)   --> if (y1)
  blah;

Your problem comes from treating the two y's as one.

Jason


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