[Bug tree-optimization/17468] [4.0 regression] Java garbage collector miscompiled at -O1 and higher

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Sep 14 06:54:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-14 06:54 -------
Lets look into the flow a little of .optimized:
<L6>:;
  mult_acc.12 = 1;
  add_acc.13 = 0;
  goto <bb 2> (<L7>);
...
<L7>:;
  switch (d->ld.ld_tag)
    {
      case 1: goto <L0>;
...

<L0>:;
  T.1 = d->ld.ld_nelements * d->ld.ld_size;
  goto <bb 6> (<L4>);
...

<L4>:;
  acc_tmp.16 = acc_tmp.15 + add_acc.13;
  acc_tmp.15 = T.1 * mult_acc.12;
  return acc_tmp.16;

hmm, where is acc_tmp.15 set, except in that last BB?

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17468



More information about the Gcc-bugs mailing list