diff options
author | Nick Clifton <nickc@redhat.com> | 2009-11-26 10:44:28 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2009-11-26 10:44:28 +0000 |
commit | 0d8f38d33736f6cc7fbd8322e1ec8b67184ce454 (patch) | |
tree | 5e7ee5d5da5e4e095ba98a11720f3e4caa104352 /gcc/ada/gcc-interface/trans.c | |
parent | 5d6b1baca04732559753fbd217aaf40b0463c4a0 (diff) | |
download | gcc-0d8f38d33736f6cc7fbd8322e1ec8b67184ce454.zip gcc-0d8f38d33736f6cc7fbd8322e1ec8b67184ce454.tar.gz gcc-0d8f38d33736f6cc7fbd8322e1ec8b67184ce454.tar.bz2 |
rx.c (rx_expand_epilogue): Add checks for sibcalls being used incorrectly.
* config/rx/rx.c (rx_expand_epilogue): Add checks for sibcalls
being used incorrectly.
(rx_function_ok_for_sibcall): New function. Do not allow indirect
sibcalls, or sibcalls from interrupt functions.
(TARGET_FUNCTION_OK_FOR_SIBCALL): Define.
* config/rx/rx.md (sibcall): Convert to a define_expand. Check
for a MEM inside a MEM.
(sibcall_value): Likewise.
(sibcall_internal): New pattern containing old sibcall pattern.
(sibcall_value_internal): Likewise.
From-SVN: r154671
Diffstat (limited to 'gcc/ada/gcc-interface/trans.c')
0 files changed, 0 insertions, 0 deletions