[Bug target/97638] aarch64: bti c is missing at function entry with branch-protection
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97638 Wilco changed: What|Removed |Added Resolution|--- |FIXED CC||wilco at gcc dot gnu.org Status|UNCONFIRMED |RESOLVED --- Comment #3 from Wilco --- Fixed and backported, so close.
[Bug target/97638] aarch64: bti c is missing at function entry with branch-protection
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97638 --- Comment #2 from CVS Commits --- The releases/gcc-10 branch has been updated by Sudakshina Das : https://gcc.gnu.org/g:454702f5213a7a8b6b3581c29c817b952ce0f184 commit r10-8996-g454702f5213a7a8b6b3581c29c817b952ce0f184 Author: Sudakshina Das Date: Mon Nov 2 15:52:22 2020 + [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 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 (cherry picked from commit ce99142c11b8090105cbf2aa853262f6d9abc0d3)
[Bug target/97638] aarch64: bti c is missing at function entry with branch-protection
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97638 --- Comment #1 from CVS Commits --- The master branch has been updated by Sudakshina Das : https://gcc.gnu.org/g:ce99142c11b8090105cbf2aa853262f6d9abc0d3 commit r11-4615-gce99142c11b8090105cbf2aa853262f6d9abc0d3 Author: Sudakshina Das Date: Mon Nov 2 15:52:22 2020 + [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 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