re PR target/81639 (ICE in rtl_verify_bb_insns, at cfgrtl.c:2669 with a naked function)
authorUros Bizjak <uros@gcc.gnu.org>
Tue, 1 Aug 2017 10:57:55 +0000 (12:57 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 1 Aug 2017 10:57:55 +0000 (12:57 +0200)
commitb8bb5772c6cbb043e60229ecc68806d91efe079f
tree0ebbc4e1d887192dbd7ece14d778e0b9dff78645
parent34e5c5116fa58f77ea5eef61d8fb6b9e91c92d79
re PR target/81639 (ICE in rtl_verify_bb_insns, at cfgrtl.c:2669 with a naked function)

PR target/81639
* config/i386/i386.c (ix86_funciton_naked): New prototype.
(ix86_function_ok_for_sibcall): Return false for naked functions.

testsuite/ChangeLog:

PR target/81639
* gcc.target/i386/pr81639.c: New test.

From-SVN: r250768
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr81639.c [new file with mode: 0644]