(just guessing on the component) I've been trying to boot a 4.0-20041030 compiled x86_64-linux-kernel. First it exposed a missing -fno-strict-aliasing (now fixed) but then it crashes during disk accesses. The problem goes away when one function from the radix tree library is compiled with -O0 instead of -O2
I unfortunately don't have a runnable test case yet, but I can give compiler input that shows the problem. -- Summary: linux kernel loop gets miscompiled Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ak at muc dot de CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: x86_64-linux GCC target triplet: x86_64-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18241