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

--- Comment #9 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Andi Kleen <a...@gcc.gnu.org>:

https://gcc.gnu.org/g:983daf0e5fdaada5b930374c21455d42d34350be

commit r15-2123-g983daf0e5fdaada5b930374c21455d42d34350be
Author: Andi Kleen <a...@linux.intel.com>
Date:   Sat Jun 1 22:04:41 2024 -0700

    Fix pro_and_epilogue for sibcalls at -O0 (PR115255)

    Some of the cfg fixups in pro_and_epilogue for sibcalls were dependent on
"optimize".
    Make them check cfun->tail_call_marked instead to handle the -O0 musttail
    case. This fixes the musttail test cases on arm targets.

    gcc/ChangeLog:

            PR target/115255
            * function.cc (thread_prologue_and_epilogue_insns): Check
            cfun->tail_call_marked for sibcalls too.
            (rest_of_handle_thread_prologue_and_epilogue): Dito.
  • [Bug target/115255] sibcall at... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to