This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [ColdFire 50/63] Save the PIC register for __builtin_eh_return
On Wed, 2007-01-10 at 12:07 +0000, Richard Sandiford wrote:
> g++.dg/eh/registers1.C showed that we weren't restoring %a5 on EH return.
> This is because _Unwind_RaiseException was compiled as PIC, and we didn't
> think it needed to save and restore the PIC register. There was therefore
> no stack slot in which to set up the value of %a5 on EH return.
>
> Richard
>
>
> gcc/
> * config/m68k/m68k.c (m68k_save_reg): Save the PIC register in
> functions that call eh_return.
OK.
Jeff