[Bug target/113780] [ARM] Incorrect indirect tailcall generated for PAC-enabled function.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113780 Richard Earnshaw changed: What|Removed |Added Target Milestone|--- |13.4
[Bug target/113780] [ARM] Incorrect indirect tailcall generated for PAC-enabled function.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113780 --- Comment #5 from GCC Commits --- The releases/gcc-13 branch has been updated by Richard Earnshaw : https://gcc.gnu.org/g:c56dc83e82af319d02a19f0703c301523ab1ef25 commit r13-9005-gc56dc83e82af319d02a19f0703c301523ab1ef25 Author: Tejas Belagod Date: Thu Jan 25 16:05:36 2024 +0530 Arm: Fix incorrect tailcall-generation for indirect calls [PR113780] This patch fixes a bug that causes indirect calls in PAC-enabled functions to be tailcalled incorrectly when all argument registers R0-R3 are used. 2024-02-07 Tejas Belagod PR target/113780 * config/arm/arm.cc (arm_function_ok_for_sibcall): Don't allow tailcalls for indirect calls with 4 or more arguments in pac-enabled functions. * lib/target-supports.exp (v8_1m_main_pacbti): Add __ARM_FEATURE_PAUTH. * gcc.target/arm/pac-sibcall.c: New. (cherry picked from commit f436a2ab6ad15968275c9bbf3bd56647e5559e68)
[Bug target/113780] [ARM] Incorrect indirect tailcall generated for PAC-enabled function.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113780 Tejas Belagod changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED|RESOLVED --- Comment #4 from Tejas Belagod --- Fixed on trunk
[Bug target/113780] [ARM] Incorrect indirect tailcall generated for PAC-enabled function.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113780 --- Comment #3 from GCC Commits --- The master branch has been updated by Tejas Belagod : https://gcc.gnu.org/g:f436a2ab6ad15968275c9bbf3bd56647e5559e68 commit r14-9022-gf436a2ab6ad15968275c9bbf3bd56647e5559e68 Author: Tejas Belagod Date: Thu Jan 25 16:05:36 2024 +0530 Arm: Fix incorrect tailcall-generation for indirect calls [PR113780] This patch fixes a bug that causes indirect calls in PAC-enabled functions to be tailcalled incorrectly when all argument registers R0-R3 are used. 2024-02-07 Tejas Belagod PR target/113780 * config/arm/arm.cc (arm_function_ok_for_sibcall): Don't allow tailcalls for indirect calls with 4 or more arguments in pac-enabled functions. * lib/target-supports.exp (v8_1m_main_pacbti): Add __ARM_FEATURE_PAUTH. * gcc.target/arm/pac-sibcall.c: New.
[Bug target/113780] [ARM] Incorrect indirect tailcall generated for PAC-enabled function.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113780 Richard Earnshaw changed: What|Removed |Added CC||keithp at keithp dot com --- Comment #2 from Richard Earnshaw --- *** Bug 113795 has been marked as a duplicate of this bug. ***
[Bug target/113780] [ARM] Incorrect indirect tailcall generated for PAC-enabled function.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113780 --- Comment #1 from Tejas Belagod --- Testing a fix as we speak..
[Bug target/113780] [ARM] Incorrect indirect tailcall generated for PAC-enabled function.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113780 Tejas Belagod changed: What|Removed |Added Status|NEW |ASSIGNED
[Bug target/113780] [ARM] Incorrect indirect tailcall generated for PAC-enabled function.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113780 Tejas Belagod changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |belagod at gcc dot gnu.org Last reconfirmed||2024-02-06 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW