summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr61060.c
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2017-07-31 10:22:41 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2017-07-31 10:22:41 +0000
commitdaabf52054661d2ab9f6565539557b007aa0cf0b (patch)
tree3c8c015e05face5b65528fc39a51a140f7eeb648 /gcc/testsuite/gcc.dg/pr61060.c
parent3a33b9df4e4d4065aa8337cfeae68c51ea2841a7 (diff)
downloadgcc-daabf52054661d2ab9f6565539557b007aa0cf0b.tar.gz
PR target/25967
* config/i386/i386.c (ix86_function_naked): New function. (ix86_can_use_return_insn_p): Return false for naked functions. (ix86_expand_prologue): Skip prologue for naked functions. (ix86_expand_epilogue): Skip epilogue for naked functions and emit trap instruction. (ix86_warn_func_return): New function. (ix86_attribute_table): Add "naked" attribute specification. (TARGET_WARN_FUNC_RETURN): Define. * doc/extend.texi (x86 Function Attributes) <naked>: Document it. testsuite/ChangeLog: PR target/25967 * gcc.target/i386/naked-1.c: New test. * gcc.target/i386/naked-2.c: Ditto. * gcc.target/i386/naked-3.c: Ditto. * gcc.target/x86_64/abi/ms-sysv/ms-sysv.c: Remove do_test_body0 stub function, use attribute "naked" instead. * gcc.dg/pr44290-1.c: Use naked_functions effective target. * gcc.dg/pr44290-2.c: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@250736 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.dg/pr61060.c')
0 files changed, 0 insertions, 0 deletions