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] Gimplifying Java


This is a bug when dumping tree-ssa.  It's AFAICS only a bug in the
dump and doesn't generate bad code.

This:


inline.barf(int,int) (this, a, b)
{
  return a / b;
}


inline.wizzle(int,int) (this, a, b)
{
  struct inline * this.1;
  int b.2;
  int a.3;
  int T.4;

  this.1 = this;
  b.2 = b;
  a.3 = a;
  T.4 = barf (this.1, b.2, a.3);
  return T.4;
}

inlines to this in inline.java.t04.inlined:

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;
// 

    {
      {
        <UVef50> = a / b;
        goto <ULeee0>;
      }
    };
    <ULeee0>:;;
    retval.5 = <UVef50>
  };
  T.4 = retval.5;
  return T.4;
}

I guess there is some renaming needs to be done somewhere.

Andrew.


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