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: gimple weirdness for Java


On Wed, 2004-06-09 at 10:42, Andrew Haley wrote:

> Look at the definition of #1#4 below.  The "*.LJpc=11" seems to branch
> around the assignment of #1#4.  All the calculation at the end of the
> function seems irrelevant, because it returns the value of #1#4.
> 
I don't see anything particularly odd with the function, if #1#3 is not
NULL we execute all the vtable lookup code, otherwise we set #1#4 to 0
and return it.

> Also, I'm a bit confused, in that #1#5 seems to be assigned twice:
> this is the gimple dump.  But this is SSA, no?
> 
Not yet.  Anything you see before .t18.ssa and after .t50.tailc is in
normal form, not SSA.  You can tell the thing is in SSA form when you
see '#1#4_9' (PHI nodes are also a good indicator ;).

> Maybe there's something wrong with the dump?  Or is this totally
> bogus?
> 
Sorry, nothing jumps out.  Are we miscompiling this code?  What does the
original look like?


Diego.


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