summaryrefslogtreecommitdiff
path: root/gcc/treelang
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2007-05-14 13:52:18 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2007-05-14 13:52:18 +0000
commitf9a44575c1285758f299dc660fe5f762de95b4d8 (patch)
treecffefaf9bacdbe3a58b51e69c4fd92063f10a19c /gcc/treelang
parent00b95186448e56c68645ba57c6116ea14334ed87 (diff)
downloadgcc-f9a44575c1285758f299dc660fe5f762de95b4d8.tar.gz
gcc/
* config/m68k/m68k-protos.h: Rename m68k_interrupt_function_p to m68k_get_function_kind. Update its prototype. * config/m68k/m68k.c (m68k_attribute_table): Add an entry for interrupt_thread. (m68k_interrupt_function_p): Return enum m68k_function_type instead of bool. Rename to m68k_get_function_kind. (m68k_handle_fndecl_attribute): Reject interrupt_thread if the target is not fido. (m68k_compute_frame_layout): Don't mark any register for save if an interrupt_thread attribute is specified. (m68k_hard_regno_rename_ok): Update a use of m68k_interrupt_function_p. * config/m68k/m68k.h (EPILOGUE_USES): Update a use of m68k_interrupt_function_p. (m68k_function_type): New. * config/m68k/m68k.md (*return): Output a 'sleep' instruction for a function with an interrupt_thread attribute. * doc/extend.texi: Document the interrupt_thread attribute. gcc/testsuite/ * gcc.target/m68k/interrupt_thread-1.c, gcc.target/m68k/interrupt_thread-2.c, gcc.target/m68k/interrupt_thread-3.c: New. * gcc.target/m68k/m68k.exp: Accept fido. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124713 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/treelang')
0 files changed, 0 insertions, 0 deletions