]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/m68k/m68k.c
m68k.c (m68k_get_function_kind): Assert we're never given a non-function.
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 29 Aug 2007 03:53:41 +0000 (03:53 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Wed, 29 Aug 2007 03:53:41 +0000 (03:53 +0000)
commitfa157b28ca73804e8ac9196c4898c2e542d98a35
treed2833806f032a2079955aeaeb53b1ee366295d5f
parentbdf57c4096fd8cd0bfdadade196c8ac7a87ddf5a
m68k.c (m68k_get_function_kind): Assert we're never given a non-function.

gcc/
* config/m68k/m68k.c (m68k_get_function_kind): Assert we're never
given a non-function.
(m68k_ok_for_sibcall_p): Only sibcall functions of the same kind.

gcc/testsuite/
* gcc.target/m68k/interrupt-1.c: New.

Co-Authored-By: Kazu Hirata <kazu@codesourcery.com>
From-SVN: r127880
gcc/ChangeLog
gcc/config/m68k/m68k.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/m68k/interrupt-1.c [new file with mode: 0644]