This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Address mode offset spill
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: daniel tian <daniel dot xntian at gmail dot com>
- Cc: gcc at gcc dot gnu dot org, Ian Lance Taylor <iant at google dot com>
- Date: Mon, 15 Jun 2009 08:50:39 -0300
- Subject: Re: Address mode offset spill
- References: <121fadb80906140733g6b1eec5eg4ea945867f4affb7@mail.gmail.com>
On Jun 14, 2009, daniel tian <daniel.xntian@gmail.com> wrote:
> Now, for immediate movement, it is achieved to move large immediate.
> But I don't know how to make the address mode legitimate. Now I try to
> add the code in LEGITIMIZE_RELOAD_ADDRESS like sh.md, or arm.md. But
> cc1 still crashed, when the frame size is larger than 255. Do I miss
> something?
One common source of this kind of error is prologue/epilogue expanders.
Since they run after reload, they must emit valid instructions to
save/restore registers and to adjust the stack and frame pointers.
--
Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/ FSF Latin America board member
Free Software Evangelist Red Hat Brazil Compiler Engineer