https://gcc.gnu.org/g:49fd9b33bd3d9b3466c8e55fe8d22df970ccf7b0
commit r15-3343-g49fd9b33bd3d9b3466c8e55fe8d22df970ccf7b0 Author: GCC Administrator <gccadmin@gcc.gnu.org> Date: Sun Sep 1 00:25:25 2024 +0000 Daily bump. Diff: --- gcc/ChangeLog | 73 +++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 13 +++++++++ gcc/c/ChangeLog | 15 ++++++++++ gcc/cp/ChangeLog | 9 ++++++ gcc/fortran/ChangeLog | 5 ++++ gcc/testsuite/ChangeLog | 67 +++++++++++++++++++++++++++++++++++++++++++++ libobjc/ChangeLog | 5 ++++ 8 files changed, 188 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 90f341e33bc5..5f709b07cbce 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,76 @@ +2024-08-31 Roger Sayle <ro...@nextmovesoftware.com> + + * config/i386/i386-features.cc (timode_scalar_to_vector_candidate_p): + Support the first operand of AND, IOR and XOR being MEM_P, i.e. a + read-modify-write insn. + +2024-08-31 Georg-Johann Lay <a...@gjlay.de> + + * config/avr/avr-passes.cc (avr_pass_fuse_add) <clone>: Override. + * config/avr/avr-passes.def (avr_pass_fuse_add): Run again + after pass_cprop_hardreg. + +2024-08-31 Georg-Johann Lay <a...@gjlay.de> + + * config/avr/avr-protos.h (avr_split_tiny_move): Rename to + avr_split_fake_addressing_move. + * config/avr/avr-passes.def: Same. + * config/avr/avr-passes.cc: Same. + (avr_pass_data_fuse_add) <tv_id>: Set to TV_MACH_DEP. + * config/avr/avr.md (split-lpmx): Remove a define_split. Such + splits are performed by avr_split_fake_addressing_move. + +2024-08-31 John David Anglin <dang...@gcc.gnu.org> + + * config/pa/pa.cc (pa_emit_move_sequence): Remove symbolic + memory work arounds for TARGET_ELF32. + (pa_legitimate_address_p): Likewise. Allow symbolic + operands. Adjust comment. + * config/pa/pa.md: Replace reg_or_0_or_nonsymb_mem_operand + with reg_or_0_or_mem_operand predicate in various unnamed + move insns. + * config/pa/predicates.md (floating_point_store_memory_operand): + Update comment. Remove symbolic memory work arounds for + TARGET_ELF32. + (nonsymb_mem_operand): Rename to mem_operand. Allow + symbolic memory operands. + (reg_or_0_or_nonsymb_mem_operand): Rename to + reg_or_0_or_mem_operand. Allow symbolic memory operands. + +2024-08-31 Andrew Pinski <quic_apin...@quicinc.com> + + PR tree-optimization/116098 + * tree-ssa-phiopt.cc (factor_out_conditional_operation): Ignore + nops, labels and predicts for heuristic for conversion with a constant. + +2024-08-31 Jakub Jelinek <ja...@redhat.com> + + PR c/116130 + * doc/extend.texi (unsequenced, reproducible): Document new function + type attributes. + * calls.cc (flags_from_decl_or_type): Handle "unsequenced noptr" and + "reproducible noptr" attributes. + +2024-08-31 Georg-Johann Lay <a...@gjlay.de> + + * config/avr/avr.cc: Follow the convention to not add a space + after comma when printing instructions. + +2024-08-31 Alexandre Oliva <ol...@adacore.com> + + * expr.cc (categorize_ctor_elements_1): Change p_complete to + int, to distinguish complete initialization in presence or + absence of uninitialized padding bits. + (categorize_ctor_elements): Likewise. Adjust all callers... + * expr.h (categorize_ctor_elements): ... and declaration. + (type_has_padding_at_level_p): New. + * gimple-fold.cc (type_has_padding_at_level_p): New. + * fold-const.cc (native_encode_constructor): New. + (native_encode_expr): Call it. + * gimplify.cc (gimplify_init_constructor): Clear small + non-addressable non-volatile objects with padding or + other uninitialized fields as an optimization. + 2024-08-30 Alex Coplan <alex.cop...@arm.com> * gdbhooks.py (VEC_KIND_EMBED): New. diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 7036fab4770c..42eedaf32c09 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20240831 +20240901 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index a61eabed99eb..fecdfeeac649 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,16 @@ +2024-08-31 Jakub Jelinek <ja...@redhat.com> + + PR c/116130 + * c-attribs.cc (c_common_gnu_attributes): Add entries for + "unsequenced", "reproducible", "unsequenced noptr" and + "reproducible noptr" attributes. + (handle_unsequenced_attribute): New function. + (handle_reproducible_attribute): Likewise. + * c-common.h (handle_unsequenced_attribute): Declare. + (handle_reproducible_attribute): Likewise. + * c-lex.cc (c_common_has_attribute): Return 202311 for standard + unsequenced and reproducible attributes. + 2024-08-28 Jason Merrill <ja...@redhat.com> * c-pragma.cc (handle_pragma_diagnostic_impl): Also handle diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 67dfbcee7034..191cb027c633 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,18 @@ +2024-08-31 Jakub Jelinek <ja...@redhat.com> + + PR c/116130 + * c-decl.cc (handle_std_unsequenced_attribute): New function. + (handle_std_reproducible_attribute): Likewise. + (std_attributes): Add entries for "unsequenced" and "reproducible" + attributes. + (c_warn_type_attributes): Add TYPE argument. Allow unsequenced + or reproducible attributes if it is FUNCTION_TYPE. + (groktypename): Adjust c_warn_type_attributes caller. + (grokdeclarator): Likewise. + (finish_declspecs): Likewise. + * c-parser.cc (c_parser_declaration_or_fndef): Likewise. + * c-tree.h (c_warn_type_attributes): Add TYPE argument. + 2024-08-29 David Malcolm <dmalc...@redhat.com> * c-objc-common.cc (c_tree_printer): Convert final param from diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 636a70aabaf1..963a7ef11ee5 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,12 @@ +2024-08-31 Iain Sandoe <i...@sandoe.co.uk> + + * coroutines.cc (coro_build_frame_access_expr): New. + (transform_await_expr): Use coro_build_frame_access_expr. + (transform_local_var_uses): Likewise. + (build_actor_fn): Likewise. + (build_destroy_fn): Likewise. + (cp_coroutine_transform::build_ramp_function): Likewise. + 2024-08-30 Jason Merrill <ja...@redhat.com> * decl2.cc (c_parse_final_cleanups): Also check diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 3b8f5a258822..5de2fea109ae 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,8 @@ +2024-08-31 Harald Anlauf <anl...@gmx.de> + + * match.cc (gfc_match_namelist): Downgrade feature from GNU to + legacy extension. + 2024-08-30 Harald Anlauf <anl...@gmx.de> PR fortran/98454 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a44981affc41..387c41bf7d05 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,70 @@ +2024-08-31 Roger Sayle <ro...@nextmovesoftware.com> + + * gcc.target/i386/movti-2.c: Change dg-options to -Os. + * gcc.target/i386/movti-4.c: Expected output of original movti-2.c. + +2024-08-31 Iain Sandoe <i...@sandoe.co.uk> + + * g++.dg/coroutines/coro.h: Use a variadic macro for PRINTF to + avoid unused warnings when output is disabled. + * g++.dg/coroutines/torture/co-await-04-control-flow.C: Avoid + unused warnings. + * g++.dg/coroutines/torture/co-ret-13-template-2.C: Likewise. + * g++.dg/coroutines/torture/exceptions-test-01-n4849-a.C: Likewise. + * g++.dg/coroutines/torture/local-var-04-hiding-nested-scopes.C: + Likewise. + * g++.dg/coroutines/torture/pr109867.C: Likewise. + +2024-08-31 Iain Sandoe <i...@sandoe.co.uk> + + * g++.dg/coroutines/torture/pr95615.inc: Check tha the + task object produced by get_return_object is correctly + deleted on exception. + +2024-08-31 Andrew Pinski <quic_apin...@quicinc.com> + + PR tree-optimization/116098 + * c-c++-common/torture/pr116098-1.c: New test. + * gcc.target/aarch64/csel-1.c: New test. + +2024-08-31 Andrew Pinski <quic_apin...@quicinc.com> + + * gcc.dg/tree-ssa/pr66726-2.c: Update scan dump message. + +2024-08-31 Harald Anlauf <anl...@gmx.de> + + * gfortran.dg/pr88169_3.f90: Adjust pattern. + +2024-08-31 Jakub Jelinek <ja...@redhat.com> + + * g++.dg/ext/attr-unsequenced-1.C: New test. + +2024-08-31 Jakub Jelinek <ja...@redhat.com> + + PR c/116130 + * c-c++-common/attr-reproducible-1.c: New test. + * c-c++-common/attr-reproducible-2.c: New test. + * c-c++-common/attr-unsequenced-1.c: New test. + * c-c++-common/attr-unsequenced-2.c: New test. + * gcc.dg/c23-attr-reproducible-1.c: New test. + * gcc.dg/c23-attr-reproducible-2.c: New test. + * gcc.dg/c23-attr-reproducible-3.c: New test. + * gcc.dg/c23-attr-reproducible-4.c: New test. + * gcc.dg/c23-attr-reproducible-5.c: New test. + * gcc.dg/c23-attr-reproducible-5-aux.c: New file. + * gcc.dg/c23-attr-unsequenced-1.c: New test. + * gcc.dg/c23-attr-unsequenced-2.c: New test. + * gcc.dg/c23-attr-unsequenced-3.c: New test. + * gcc.dg/c23-attr-unsequenced-4.c: New test. + * gcc.dg/c23-attr-unsequenced-5.c: New test. + * gcc.dg/c23-attr-unsequenced-5-aux.c: New file. + * gcc.dg/c23-has-c-attribute-2.c: Add tests for unsequenced + and reproducible attributes. + +2024-08-31 Alexandre Oliva <ol...@adacore.com> + + * gcc.dg/init-pad-1.c: New. + 2024-08-30 Marek Polacek <pola...@redhat.com> PR c++/101099 diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index a6a4ad9c0ada..f1397a4318b2 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -1,3 +1,8 @@ +2024-08-31 Andrew Pinski <quic_apin...@quicinc.com> + + PR libobjc/89586 + * sendmsg.c (__objc_get_forward_imp): Add cast to `void*` before casting to IMP. + 2024-04-02 Jakub Jelinek <ja...@redhat.com> * init.c (duplicate_classes): Fix duplicated words in comment; in in