[Bug target/121971] [15/16 Regression] Only warn about musttail on exotic targets?

ak at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Sep 21 15:12:30 GMT 2025


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

ak at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ak at gcc dot gnu.org

--- Comment #5 from ak at gcc dot gnu.org ---
An option would be to make __has_attribute musttail return 0 on those targets.
Just warning is a bad idea because with deep recursion it eill generate
incorrect code (guaranteed stack overflow)


More information about the Gcc-bugs mailing list