This is the mail archive of the gcc@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 self checking infrastructure


In message <20031119213603.GW16923@atrey.karlin.mff.cuni.cz>, Jan Hubicka write
s:
 >I am doing the first, how can I implement the second? That may be
 >actually one problems I am seeing...
 >(given the fact that only the tail recursion ellimination run as very
 >last pass before de-ssa breaks I think it is actually not the case, but
 >definitly needs to be done right)
I'm not absolutely sure myself.  Again, my recollection is a bit fuzzy, but 
I think people have argued that you do want those PHI nodes for the meet
between the uninitialized path and the initialized path.  But before you
spend a lot of time on it, you might want to do a little research.

It's also worth noting that we don't seem to be creating PHIs for this
right now.  Consider:

foo(x)
{

  int a;
label:

  a = 20;

  goto label;
  
}

We don't get a PHI at "label" -- so even if it is recommended that we
have PHIs at the join point between initialized and uninitialized, it
doesn't appear that we currently do it.

jeff


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