aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2codeview.h
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2024-01-24 07:44:23 -0800
committerAndi Kleen <ak@gcc.gnu.org>2024-07-23 13:27:12 -0700
commit78bbdbd5352df527feccf0a8c2f862f25a2e88b4 (patch)
treed4b60565bb6d2006936b30121c7f4e5aa42696bc /gcc/dwarf2codeview.h
parent2bd8177256b6d87f6e75819218cf22c2c0bfc1ac (diff)
downloadgcc-78bbdbd5352df527feccf0a8c2f862f25a2e88b4.zip
gcc-78bbdbd5352df527feccf0a8c2f862f25a2e88b4.tar.gz
gcc-78bbdbd5352df527feccf0a8c2f862f25a2e88b4.tar.bz2
C: Implement musttail attribute for returns
Implement a C23 clang compatible musttail attribute similar to the earlier C++ implementation in the C parser. gcc/c/ChangeLog: PR c/83324 * c-parser.cc (struct attr_state): Define with musttail_p. (c_parser_statement_after_labels): Handle [[musttail]]. (c_parser_std_attribute): Dito. (c_parser_handle_musttail): Dito. (c_parser_compound_statement_nostart): Dito. (c_parser_all_labels): Dito. (c_parser_statement): Dito. * c-tree.h (c_finish_return): Add musttail_p flag. * c-typeck.cc (c_finish_return): Handle musttail_p flag.
Diffstat (limited to 'gcc/dwarf2codeview.h')
0 files changed, 0 insertions, 0 deletions