This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/18241] [4.0 Regression] linux kernel loop gets miscompiled
- From: "law at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Dec 2004 22:16:00 -0000
- Subject: [Bug tree-optimization/18241] [4.0 Regression] linux kernel loop gets miscompiled
- References: <20041031010322.18241.ak@muc.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From law at redhat dot com 2004-12-13 22:15 -------
FWIW, I've walked through all the actions of DOM1 and AFAICT every change it
makes is correct. I would have to strongly suspect that DOM1 is not the problem
here, but is instead changing things in such a way as to expose some downstream
issue.
I've also looked pretty closely at the later tree optimizer dumps. If indeed
the problem is the ret = *pathp[0].slot statement blowing up, I would strongly
suggest some printf debugging of the first loop. Namely, how many times does
it iterate and what is the value of pathp before and after the loop.
Jeff
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18241