https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68390
--- Comment #5 from Christophe Lyon <clyon at gcc dot gnu.org> --- Author: clyon Date: Fri Apr 21 09:23:59 2017 New Revision: 247057 URL: https://gcc.gnu.org/viewcvs?rev=247057&root=gcc&view=rev Log: [ARM] PR68390 Incorrect code due to indirect tail call of varargs function with hard float ABI 2017-04-21 Christophe Lyon <christophe.l...@linaro.org> Backport from mainline +2015-11-23 Kugan Vivekanandarajah <kug...@linaro.org> PR target/68390 gcc/ * config/arm/arm.c (arm_function_ok_for_sibcall): Get function type for indirect function call. gcc/testsuite/ * gcc.c-torture/execute/pr68390.c: New test. Added: branches/gcc-5-branch/gcc/testsuite/gcc.c-torture/execute/pr68390.c Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/config/arm/arm.c branches/gcc-5-branch/gcc/testsuite/ChangeLog