https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113780

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tejas Belagod <bela...@gcc.gnu.org>:

https://gcc.gnu.org/g:f436a2ab6ad15968275c9bbf3bd56647e5559e68

commit r14-9022-gf436a2ab6ad15968275c9bbf3bd56647e5559e68
Author: Tejas Belagod <tejas.bela...@arm.com>
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  <tejas.bela...@arm.com>

            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] Incor... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to