This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [analysis] PR target/17990: reload produces unaligned stackreference
- From: <tm_gccmail at kloo dot net>
- To: Uros Bizjak <uros at kss-loka dot si>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 28 Oct 2004 16:09:53 -0700 (PDT)
- Subject: Re: [analysis] PR target/17990: reload produces unaligned stackreference
On Tue, 26 Oct 2004, Uros Bizjak wrote:
> I don't know, what is the best solution to this problem. PLUS case of eliminate_regs() just blindly adds
> ep->previous_offset, without aligning the resulting offset. It looks that resulting stack should be _rearranged_,
> according to required alignments of data, and not just moved, when frame reg is eliminated.
>
> Uros.
Incidentally, we did a project to allow rearranging of stack slots about
two years ago, but this was never accepted into mainline gcc.
The patch was posted here:
http://gcc.gnu.org/ml/gcc-patches/2003-01/msg00019.html
Toshi