An alpha egcs bug
H.J. Lu
hjl@lucon.org
Wed Oct 22 18:07:00 GMT 1997
>
> On Wed, Oct 22, 1997 at 04:35:07PM -0600, Jeffrey A Law wrote:
> > I didn't read this thread real close, but it might be worth
> > looking at CLASS_CANNOT_CHANGE_SIZE.
>
> No, I've seen this problem before in another form.
>
> The problem, IMO, is that somewhere in all the myriad SUBREG's that the
> alpha backend generates, reload looses track of what width a pseudo
> actually needs across a spill/reload. It winds up storing 32 bits
> and reading back 64.
>
That is what happened in my test case. One feature on alpha is
when you load a 32 bit int into a register, you always fill
64 bit. If you only deal with registers, it is ok to load 32 bit
and read 64 bit. The problem is memory access.
H.J.
More information about the Gcc
mailing list