bug in cse.c
Richard Henderson
rth@redhat.com
Wed Sep 29 18:14:00 GMT 2004
On Tue, Sep 28, 2004 at 07:36:53PM +0200, Leehod Baruch wrote:
> (insn 1289 1288 1264 14 (set (reg:SI 839)
> (subreg:SI (reg:DI 558) 0)) -1 (nil)
> (nil))
...
> The high subreg of register 558 is really a const_int 0 ...
If this is a big-endian target, (subreg x 0) *is* the high subreg.
> The reason for this mistake is that the analysis didn't take into
> account that the computer may use the big Endean method.
Well, subreg_lsb certainly does examine endianness, so all I
can say without more information is that your analysis is wrong.
You'll have to give a much better description of the problem,
including a test case.
r~
More information about the Gcc
mailing list