This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
SH failures - analyzis
- To: rth at cygnus dot com, gcc-bugs at gcc dot gnu dot org, bernds at redhat dot com
- Subject: SH failures - analyzis
- From: Jan Hubicka <jh at suse dot cz>
- Date: Wed, 15 Aug 2001 13:16:11 +0200
Hi,
I am looking at the SH port (and trying to get it running properly so I can experiment more with the .align code)
and it appears to have serious problem in reload.
The case is that register is subregged to lowpart (subreg:HI (reg:SI x) 2). This is correct for little endian
machines (SH does both).
Reload then puts register X to stack and generate memory for it - it is valid for SH, as it allows
constant indexes in memory that are divisible by 4. During subreg elimination, the compilation crashes,
as memory if offsetted by 2 and thats no longer valid address.
What appears to be the proper solution?
Honza