gcc/
* config/m68k/m68k.c (m68k_save_reg): Save the PIC register in
functions that call eh_return.
From-SVN: r122611
+2007-03-06 Richard Sandiford <richard@codesourcery.com>
+
+ * config/m68k/m68k.c (m68k_save_reg): Save the PIC register in
+ functions that call eh_return.
+
2007-03-06 Richard Sandiford <richard@codesourcery.com>
* config/m68k/m68k.c (m68k_save_reg): Save the PIC register in
{
if (flag_pic && regno == PIC_OFFSET_TABLE_REGNUM)
{
+ /* A function that receives a nonlocal goto must save all call-saved
+ registers. */
+ if (current_function_has_nonlocal_label)
+ return true;
if (current_function_uses_pic_offset_table)
return true;
/* Reload may introduce constant pool references into a function