This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Gimplifying Java
On Fri, 2003-06-13 at 14:39, Andrew Haley wrote:
> inline.wizzle(int,int) (this, a, b)
> {
> int retval.5;
> struct inline * this.1;
> int b.2;
> int a.3;
> int T.4;
>
> {
> int b;
> int a;
> struct inline * this;
> int <UVef50>;
>
> this = this;
>
> // This bit must be wrong...
> a = b;
> b = a;
> //
>
Well, it's just confusing when you render it as plain text, but
internally those are different VAR_DECLs. The 'a' and 'b' on the LHS of
those assignments are the ones declared in the inlined block. The 'a'
and 'b' on the RHS are the arguments to 'inline.wizzle'.
Maybe the inliner should generate different names to avoid confusing
dumps?
Diego.