https://gcc.gnu.org/g:6d811c15e622572749a2e84d3884cb5ce3296578
commit r15-2182-g6d811c15e622572749a2e84d3884cb5ce3296578 Author: GCC Administrator <gccadmin@gcc.gnu.org> Date: Sun Jul 21 00:17:52 2024 +0000 Daily bump. Diff: --- gcc/ChangeLog | 62 +++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 19 +++++++++++++++ gcc/c/ChangeLog | 29 +++++++++++++++++++++++ gcc/cp/ChangeLog | 21 +++++++++++++++++ gcc/testsuite/ChangeLog | 47 +++++++++++++++++++++++++++++++++++++ 6 files changed, 179 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5cc7190a86d1..b626dbdc0980 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,65 @@ +2024-07-20 Andi Kleen <a...@gcc.gnu.org> + + Revert: + 2024-07-20 Andi Kleen <a...@linux.intel.com> + + PR c/83324 + * doc/extend.texi: Document [[musttail]] + +2024-07-20 Mark Harmstone <m...@harmstone.com> + + * dwarf2codeview.cc (enum cv_sym_type): Add new values. + (struct codeview_symbol): Add function to union. + (struct codeview_custom_type): Add lf_func_id to union. + (write_function): New function. + (write_codeview_symbols): Call write_function. + (write_lf_func_id): New function. + (write_custom_types): Call write_lf_func_id. + (add_function): New function. + (codeview_debug_early_finish): Call add_function. + +2024-07-20 André Maroneze <andre.maron...@cea.fr> + + * doc/invoke.texi (Spec Files): Remove documentation of obsolete + spec strings "predefines" and "signed_char". + +2024-07-20 Siddhesh Poyarekar <siddh...@gotplt.org> + + * opt-suggestions.cc + (option_proposer::build_option_suggestions): Pull OPTB + definition out of the innermost loop. + +2024-07-20 Andi Kleen <a...@linux.intel.com> + + PR c/83324 + * doc/extend.texi: Document [[musttail]] + +2024-07-20 Lulu Cheng <chengl...@loongson.cn> + + * config/loongarch/loongarch-protos.h + (loongarch_split_128bit_move): Delete. + (loongarch_split_128bit_move_p): Delete. + (loongarch_split_256bit_move): Delete. + (loongarch_split_256bit_move_p): Delete. + (loongarch_split_vector_move): Add a function declaration. + * config/loongarch/loongarch.cc + (loongarch_vector_costs::finish_cost): Adjust the code + formatting. + (loongarch_split_vector_move_p): Merge + loongarch_split_128bit_move_p and loongarch_split_256bit_move_p. + (loongarch_split_move_p): Merge code. + (loongarch_split_move): Likewise. + (loongarch_split_128bit_move_p): Delete. + (loongarch_split_256bit_move_p): Delete. + (loongarch_split_128bit_move): Delete. + (loongarch_split_vector_move): Merge loongarch_split_128bit_move + and loongarch_split_256bit_move. + (loongarch_split_256bit_move): Delete. + (loongarch_global_init): Remove the extra semicolon at the + end of the function. + * config/loongarch/loongarch.md (*movdf_softfloat): Added a new + condition TARGET_64BIT. + 2024-07-19 Andrew MacLeod <amacl...@redhat.com> PR tree-optimization/116003 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 6c93b259fd65..d1ac33f77fb9 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20240720 +20240721 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 0de28ef5042c..ea24fcfbe956 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,22 @@ +2024-07-20 Andi Kleen <a...@gcc.gnu.org> + + Revert: + 2024-07-20 Andi Kleen <a...@linux.intel.com> + + * c-attribs.cc (set_musttail_on_return): New function. + * c-common.h (set_musttail_on_return): Declare new function. + +2024-07-20 Andi Kleen <a...@linux.intel.com> + + * c-attribs.cc (set_musttail_on_return): New function. + * c-common.h (set_musttail_on_return): Declare new function. + +2024-07-20 Andi Kleen <a...@linux.intel.com> + + PR c/83324 + * c-attribs.cc (handle_musttail_attribute): Add. + * c-common.h (handle_musttail_attribute): Add. + 2024-07-17 Mark Wielaard <m...@klomp.org> * c.opt.urls: Regenerate. diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 08551e2b5b0e..3b2514c32b5e 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,32 @@ +2024-07-20 Andi Kleen <a...@gcc.gnu.org> + + Revert: + 2024-07-20 Andi Kleen <a...@linux.intel.com> + + 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. + +2024-07-20 Andi Kleen <a...@linux.intel.com> + + 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. + 2024-07-14 Alejandro Colomar <a...@kernel.org> PR c/115185 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index bcff971c4ad5..c9c242ecd3d9 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,24 @@ +2024-07-20 Andi Kleen <a...@gcc.gnu.org> + + Revert: + 2024-07-20 Andi Kleen <a...@linux.intel.com> + + PR c/83324 + * cp-tree.h (AGGR_INIT_EXPR_MUST_TAIL): Add. + * parser.cc (cp_parser_statement): Handle musttail. + (cp_parser_jump_statement): Dito. + * pt.cc (tsubst_expr): Copy CALL_EXPR_MUST_TAIL_CALL. + * semantics.cc (simplify_aggr_init_expr): Handle musttail. + +2024-07-20 Andi Kleen <a...@linux.intel.com> + + PR c/83324 + * cp-tree.h (AGGR_INIT_EXPR_MUST_TAIL): Add. + * parser.cc (cp_parser_statement): Handle musttail. + (cp_parser_jump_statement): Dito. + * pt.cc (tsubst_expr): Copy CALL_EXPR_MUST_TAIL_CALL. + * semantics.cc (simplify_aggr_init_expr): Handle musttail. + 2024-07-19 Patrick Palka <ppa...@redhat.com> PR c++/115783 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3766b6c27bed..078945ff981d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,50 @@ +2024-07-20 Andrew MacLeod <amacl...@redhat.com> + + * gcc.dg/pr116003.c: Require bitint575 target. + +2024-07-20 Andi Kleen <a...@gcc.gnu.org> + + Revert: + 2024-07-20 Andi Kleen <a...@linux.intel.com> + + * lib/target-supports.exp: + (check_effective_target_struct_tail_call): New function. + * c-c++-common/musttail1.c: New test. + * c-c++-common/musttail12.c: New test. + * c-c++-common/musttail13.c: New test. + * c-c++-common/musttail2.c: New test. + * c-c++-common/musttail3.c: New test. + * c-c++-common/musttail4.c: New test. + * c-c++-common/musttail5.c: New test. + * c-c++-common/musttail7.c: New test. + * c-c++-common/musttail8.c: New test. + * g++.dg/musttail10.C: New test. + * g++.dg/musttail11.C: New test. + * g++.dg/musttail6.C: New test. + * g++.dg/musttail9.C: New test. + +2024-07-20 Andrew MacLeod <amacl...@redhat.com> + + * gcc.dg/pr116003.c : Add target bitint. + +2024-07-20 Andi Kleen <a...@linux.intel.com> + + * lib/target-supports.exp: + (check_effective_target_struct_tail_call): New function. + * c-c++-common/musttail1.c: New test. + * c-c++-common/musttail12.c: New test. + * c-c++-common/musttail13.c: New test. + * c-c++-common/musttail2.c: New test. + * c-c++-common/musttail3.c: New test. + * c-c++-common/musttail4.c: New test. + * c-c++-common/musttail5.c: New test. + * c-c++-common/musttail7.c: New test. + * c-c++-common/musttail8.c: New test. + * g++.dg/musttail10.C: New test. + * g++.dg/musttail11.C: New test. + * g++.dg/musttail6.C: New test. + * g++.dg/musttail9.C: New test. + 2024-07-19 Andrew MacLeod <amacl...@redhat.com> PR tree-optimization/116003