This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/17468] [4.0 regression] Java garbage collector miscompiled at -O1 and higher
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Sep 2004 06:54:51 -0000
- Subject: [Bug tree-optimization/17468] [4.0 regression] Java garbage collector miscompiled at -O1 and higher
- References: <20040913205501.17468.Hans.Boehm@hp.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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