This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gimple weirdness for Java
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Andrew Haley <aph at redhat dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Wed, 09 Jun 2004 10:52:42 -0400
- Subject: Re: gimple weirdness for Java
- Organization: Red Hat Canada
- References: <16583.8656.263888.551520@cuddles.cambridge.redhat.com>
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.