https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97638
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Sudakshina Das <s...@gcc.gnu.org>: https://gcc.gnu.org/g:ce99142c11b8090105cbf2aa853262f6d9abc0d3 commit r11-4615-gce99142c11b8090105cbf2aa853262f6d9abc0d3 Author: Sudakshina Das <sudi....@arm.com> Date: Mon Nov 2 15:52:22 2020 +0000 [PATCH] aarch64: Fix PR97638 Currently the testcase in the patch was failing to produce a 'bti c' at the beginning of the function. This was because in aarch64_pac_insn_p, we were wrongly returning at the first check! 2020-10-30 Sudakshina Das <sudi....@arm.com> gcc/ChangeLog: PR target/97638 * config/aarch64/aarch64-bti-insert.c (aarch64_pac_insn_p): Update return value on INSN_P check. gcc/testsuite/ChangeLog: PR target/97638 * gcc.target/aarch64/pr97638.c: New test.a