[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jul 20 06:34:20 GMT 2024


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

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

https://gcc.gnu.org/g:5c4c1fe6df0f752764cdfd7404a60bfd2b4f5057

commit r15-2168-g5c4c1fe6df0f752764cdfd7404a60bfd2b4f5057
Author: Andi Kleen <ak@linux.intel.com>
Date:   Wed May 15 19:38:43 2024 -0700

    Add a musttail generic attribute to the c-attribs table

    The actual handling is directly in the parser since the
    generic mechanism doesn't support statement attributes,
    but this gives basic error checking/detection on the attribute.

    gcc/c-family/ChangeLog:

            PR c/83324
            * c-attribs.cc (handle_musttail_attribute): Add.
            * c-common.h (handle_musttail_attribute): Add.


More information about the Gcc-bugs mailing list