This is the mail archive of the gcc-bugs@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]

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


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


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