mips.c (mips_epilogue): New structure.
gcc/ 2011-09-11 Bernd Schmidt <bernds@codesourcery.com> Richard Sandiford <rdsandiford@googlemail.com> * config/mips/mips.c (mips_epilogue): New structure. (mips16e_save_restore_reg): Queue REG_CFA_RESTORE notes when restoring registers. (mips_epilogue_emit_cfa_restores): New function. (mips_epilogue_set_cfa): Likewise. (mips_restore_reg): Queue REG_CFA_RESTORE notes. When restoring the current CFA register from the stack, redefine the CFA in terms of the stack pointer. (mips_expand_epilogue): Set up mips_epilogue. Attach CFA information to the epilogue instructions. gcc/testsuite/ * gcc.target/mips/mips.exp (mips_option_groups): Add debug options. * gcc.target/mips/interrupt_handler-2.c: New test. * gcc.target/mips/interrupt_handler-3.c: Likewise. From-SVN: r178794
Showing
Please
register
or
sign in
to comment