On 19 Jul 2002, Jerry James said:
Okay, so now I've recompiled without *any* -mcpu=xxx flags, which
should
give me the default v7 output. It still crashes in the same place. The
instruction stream now looks like this:
So much for *that* guess on my part. :)
That's even worse than it was in the -mcpu=ultrasparc case. Now
the
ldub has floated all the way to the top, before it even does the andcc
to get the type!
I'll have to hit this with -da, I think. I guess a regalloc bug but I
can't tell from just this :) I'll give it a whack tomorrow.
(Does it happen with GCC-3.1?)
Looking at raw assembler output with GCC is rarely very useful unless
you know a lot about the inside of the compiler: you're looking at the
end result of so many passes that -da and tracing back to find the place
where things actually go wrong is almost always needed :)
--
`There's something satisfying about killing JWZ over and over again.'
-- 1i, personal communication