This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: SH failures - analyzis
- To: Jan Hubicka <jh at suse dot cz>
- Subject: Re: SH failures - analyzis
- From: Richard Henderson <rth at redhat dot com>
- Date: Wed, 15 Aug 2001 14:38:53 -0700
- Cc: gcc-bugs at gcc dot gnu dot org, bernds at redhat dot com
- References: <20010815131611.S19872@atrey.karlin.mff.cuni.cz>
On Wed, Aug 15, 2001 at 01:16:11PM +0200, Jan Hubicka wrote:
> 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?
I'd say the address should have been reloaded as well.
r~