[analysis] PR target/17990: reload produces unaligned stack reference

tm_gccmail@kloo.net tm_gccmail@kloo.net
Fri Oct 29 06:01:00 GMT 2004


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




More information about the Gcc mailing list