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/18241] [4.0 Regression] linux kernel loop gets miscompiled


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


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