aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog73
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/c-family/ChangeLog13
-rw-r--r--gcc/c/ChangeLog15
-rw-r--r--gcc/cp/ChangeLog9
-rw-r--r--gcc/fortran/ChangeLog5
-rw-r--r--gcc/testsuite/ChangeLog67
-rw-r--r--libobjc/ChangeLog5
8 files changed, 188 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 90f341e..5f709b0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,76 @@
+2024-08-31 Roger Sayle <roger@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 <avr@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 <avr@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 <danglin@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_apinski@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 <jakub@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 <avr@gjlay.de>
+
+ * config/avr/avr.cc: Follow the convention to not add a space
+ after comma when printing instructions.
+
+2024-08-31 Alexandre Oliva <oliva@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.coplan@arm.com>
* gdbhooks.py (VEC_KIND_EMBED): New.
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 7036fab..42eedaf 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20240831
+20240901
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index a61eabe..fecdfee 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,16 @@
+2024-08-31 Jakub Jelinek <jakub@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 <jason@redhat.com>
* c-pragma.cc (handle_pragma_diagnostic_impl): Also handle
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index 67dfbce..191cb02 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,18 @@
+2024-08-31 Jakub Jelinek <jakub@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 <dmalcolm@redhat.com>
* c-objc-common.cc (c_tree_printer): Convert final param from
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 636a70a..963a7ef 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,12 @@
+2024-08-31 Iain Sandoe <iain@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 <jason@redhat.com>
* decl2.cc (c_parse_final_cleanups): Also check
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 3b8f5a2..5de2fea 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,8 @@
+2024-08-31 Harald Anlauf <anlauf@gmx.de>
+
+ * match.cc (gfc_match_namelist): Downgrade feature from GNU to
+ legacy extension.
+
2024-08-30 Harald Anlauf <anlauf@gmx.de>
PR fortran/98454
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index a44981a..387c41b 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,70 @@
+2024-08-31 Roger Sayle <roger@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 <iain@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 <iain@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_apinski@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_apinski@quicinc.com>
+
+ * gcc.dg/tree-ssa/pr66726-2.c: Update scan dump message.
+
+2024-08-31 Harald Anlauf <anlauf@gmx.de>
+
+ * gfortran.dg/pr88169_3.f90: Adjust pattern.
+
+2024-08-31 Jakub Jelinek <jakub@redhat.com>
+
+ * g++.dg/ext/attr-unsequenced-1.C: New test.
+
+2024-08-31 Jakub Jelinek <jakub@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 <oliva@adacore.com>
+
+ * gcc.dg/init-pad-1.c: New.
+
2024-08-30 Marek Polacek <polacek@redhat.com>
PR c++/101099
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog
index a6a4ad9..f1397a4 100644
--- a/libobjc/ChangeLog
+++ b/libobjc/ChangeLog
@@ -1,3 +1,8 @@
+2024-08-31 Andrew Pinski <quic_apinski@quicinc.com>
+
+ PR libobjc/89586
+ * sendmsg.c (__objc_get_forward_imp): Add cast to `void*` before casting to IMP.
+
2024-04-02 Jakub Jelinek <jakub@redhat.com>
* init.c (duplicate_classes): Fix duplicated words in comment; in in