aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog127
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/c-family/ChangeLog10
-rw-r--r--gcc/c/ChangeLog7
-rw-r--r--gcc/cp/ChangeLog36
-rw-r--r--gcc/fortran/ChangeLog34
-rw-r--r--gcc/po/ChangeLog4
-rw-r--r--gcc/testsuite/ChangeLog105
8 files changed, 324 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 58335ba..3cbbba91 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,130 @@
+2024-09-06 Carl Love <cel@linux.ibm.com>
+
+ * config/rs6000/rs6000-overload.def (vec_test_lsbb_all_ones,
+ vec_test_lsbb_all_zeros): Add built-in instances for vector signed
+ char and vector bool char.
+ * doc/extend.texi (vec_test_lsbb_all_ones,
+ vec_test_lsbb_all_zeros): Add documentation for the
+ existing built-ins.
+
+2024-09-06 Tamar Christina <tamar.christina@arm.com>
+
+ PR tree-optimization/116628
+ * tree-vect-patterns.cc (vect_recog_cond_store_pattern): Add SSA_NAME
+ check on expression.
+
+2024-09-06 Andrew Pinski <quic_apinski@quicinc.com>
+
+ PR target/116598
+ * config/aarch64/aarch64.cc (aarch64_lookup_shared_state_flags): Use
+ is_attribute_namespace_p and get_attribute_name instead of manually grabbing
+ the namespace and name of the attribute.
+
+2024-09-06 Martin Jambor <mjambor@suse.cz>
+
+ * passes.def: Move pass_ipa_cdtor_merge before pass_ipa_cp and
+ pass_ipa_sra.
+
+2024-09-06 Martin Jambor <mjambor@suse.cz>
+
+ PR ipa/115815
+ * cgraph.cc (cgraph_node_cannot_be_local_p_1): Also check
+ DECL_STATIC_CONSTRUCTOR and DECL_STATIC_DESTRUCTOR.
+ * ipa-visibility.cc (non_local_p): Likewise.
+ (cgraph_node::local_p): Delete extraneous line of tabs.
+
+2024-09-06 Richard Biener <rguenther@suse.de>
+
+ * tree-vect-slp.cc (vect_analyze_slp): Also handle discovery
+ for double reductions.
+
+2024-09-06 Richard Biener <rguenther@suse.de>
+
+ * tree-vect-slp.cc (vect_analyze_slp): Perform single-lane
+ loop SLP discovery for non-grouped stores. Move check on the root
+ for re-doing SLP analysis with a single lane for load/store-lanes
+ earlier and make sure we are dealing with a grouped access.
+ * tree-vect-stmts.cc (vectorizable_store): Always set
+ vec_num for SLP.
+
+2024-09-06 Georg-Johann Lay <avr@gjlay.de>
+
+ * config/avr/avr.h: Remove "Atmel" from header comment.
+ * config/avr/avr.cc: Same.
+ * config/avr/avr.md: Same.
+ * config/avr/avr.opt: Same.
+ * config/avr/avr-dimode.md: Same.
+ * config/avr/avr-fixed.md: Same.
+ * config/avr/constraints.md: Same.
+ * config/avr/predicates.md: Same.
+ * config/avr/avr-log.cc: Same.
+ * config/avr/avrlibc.h: Same.
+ * config/avr/specs.h: Same.
+ * common/config/avr/avr-common.cc: Same.
+ * doc/install.texi: Same.
+ * config/avr/avr-arch.h: Adjust header comment.
+ * config/avr/avr-c.cc: Same.
+ * config/avr/avr-mcus.def: Same.
+ * config/avr/avr-modes.def: Same.
+ * config/avr/avr-passes.cc: Same.
+ * config/avr/avr-passes.def: Same.
+ * config/avr/avr-protos.h: Same.
+ * config/avr/driver-avr.cc: Same.
+ * config/avr/elf.h: Same.
+ * config/avr/gen-avr-mmcu-specs.cc: Same.
+ * config/avr/gen-avr-mmcu-texi.cc: Same.
+
+2024-09-06 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/116610
+ * tree-vect-loop.cc (vectorizable_induction): Use MINUS_EXPR
+ to apply a mask peeling adjustment.
+
+2024-09-06 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/116609
+ * tree-vect-loop.cc (vectorizable_live_operation_1): Support
+ partial vectors for single-lane SLP.
+
+2024-09-06 Raphael Moreira Zinsly <rzinsly@ventanamicro.com>
+
+ * config/riscv/riscv.cc (riscv_build_integer): Detect constants
+ were the higher half is the lower half inverted.
+
+2024-09-06 Raphael Moreira Zinsly <rzinsly@ventanamicro.com>
+
+ * config/riscv/riscv.cc (riscv_build_integer): Detect new case
+ of constants that can be improved.
+ (riscv_move_integer): Add synthesys for concatening constants
+ without Zbkb.
+
+2024-09-06 Pan Li <pan2.li@intel.com>
+
+ * match.pd: Add int_fits_type_p check for .SAT_SUB imm operand.
+
+2024-09-06 Pan Li <pan2.li@intel.com>
+
+ * match.pd: Add int_fits_type_p check for .SAT_SUB imm operand.
+
+2024-09-06 YunQiang Su <syq@gcc.gnu.org>
+
+ * common/config/riscv/riscv-common.cc(riscv_select_multilib_by_abi):
+ Fix out of index problem.
+
+2024-09-06 Jason Merrill <jason@redhat.com>
+
+ PR c++/46457
+ PR c++/81665
+ * doc/extend.texi: Document flag_enum attribute.
+ * doc/invoke.texi: Mention flag_enum in -Wswitch.
+
+2024-09-06 liuhongt <hongtao.liu@intel.com>
+
+ PR target/115517
+ * config/i386/sse.md (*avx2_pcmp<mode>3_1): Change predicate
+ of operands[1] and operands[2] from nonimmdiate_operand to
+ nonimm_or_0_operand.
+
2024-09-05 Jeff Law <jlaw@ventanamicro.com>
* config/riscv/riscv.cc (riscv_expand_int_scc): For rv64, use a DI
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index a2aca13..346d3ce 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20240906
+20240907
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index f72de86..3dbed01 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -1,3 +1,13 @@
+2024-09-06 Jason Merrill <jason@redhat.com>
+
+ PR c++/46457
+ PR c++/81665
+ * c-attribs.cc (handle_flag_enum_attribute): New.
+ (c_common_gnu_attributes): Add it.
+ (c_common_clang_attributes, c_common_clang_attribute_table): New.
+ * c-common.h: Declare c_common_clang_attribute_table.
+ * c-warn.cc (c_do_switch_warnings): Handle flag_enum.
+
2024-09-03 Qing Zhao <qing.zhao@oracle.com>
* c-attribs.cc (handle_counted_by_attribute): Is ignored and issues
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index 8963317..a1bc6c8 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,10 @@
+2024-09-06 Jason Merrill <jason@redhat.com>
+
+ PR c++/46457
+ PR c++/81665
+ * c-objc-common.h (c_objc_attribute_table): Add
+ c_common_clang_attribute_table.
+
2024-09-03 David Malcolm <dmalcolm@redhat.com>
* c-objc-common.cc (print_type): Prefix all output_buffer fields
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 3685895..e45494f 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,39 @@
+2024-09-06 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/115769
+ * cp-tree.h: Partially implement CWG 2867 - Order of initialization
+ for structured bindings.
+ (cp_finish_decomp): Add TEST_P argument defaulted to false.
+ * decl.cc (initialize_local_var): Add DECOMP argument, if true,
+ don't build cleanup and temporarily override stmts_are_full_exprs_p
+ to 0 rather than 1. Formatting fix.
+ (cp_finish_decl): Invoke cp_finish_decomp for structured bindings
+ here, first with test_p. For automatic structured binding bases
+ if the test cp_finish_decomp returned true wrap the initialization
+ together with what non-test cp_finish_decomp emits with a
+ CLEANUP_POINT_EXPR, and if there are any CLEANUP_STMTs needed, emit
+ them around the whole CLEANUP_POINT_EXPR with guard variables for the
+ cleanups. Call cp_finish_decomp using RAII if not called with
+ decomp != NULL otherwise.
+ (cp_finish_decomp): Add TEST_P argument, change return type from
+ void to bool, if TEST_P is true, return true instead of emitting
+ actual code for the tuple case, otherwise return false.
+ * parser.cc (cp_convert_range_for): Don't call cp_finish_decomp
+ after cp_finish_decl.
+ (cp_parser_decomposition_declaration): Set DECL_DECOMP_BASE
+ before cp_finish_decl call. Don't call cp_finish_decomp after
+ cp_finish_decl.
+ (cp_finish_omp_range_for): Don't call cp_finish_decomp after
+ cp_finish_decl.
+ * pt.cc (tsubst_stmt): Likewise.
+
+2024-09-06 Jason Merrill <jason@redhat.com>
+
+ PR c++/46457
+ PR c++/81665
+ * cp-objcp-common.h (cp_objcp_attribute_table): Add
+ c_common_clang_attribute_table.
+
2024-09-05 Marek Polacek <polacek@redhat.com>
PR c++/116606
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 49d0106..268e567 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,37 @@
+2024-09-06 Tobias Burnus <tburnus@baylibre.com>
+
+ * dump-parse-tree.cc (show_omp_namelist): Handle OMP_LIST_INIT.
+ (show_omp_clauses): Handle OMP_LIST_{INIT,USE,DESTORY}; move 'nowait'
+ from end-directive to the directive dump.
+ (show_omp_node, show_code_node): Handle EXEC_OMP_INTEROP.
+ * gfortran.h (enum gfc_statement): Add ST_OMP_INTEROP.
+ (OMP_LIST_INIT, OMP_LIST_USE, OMP_LIST_DESTROY): Add.
+ (enum gfc_exec_op): Add EXEC_OMP_INTEROP.
+ (struct gfc_omp_namelist): Add interop items to union.
+ (gfc_free_omp_namelist): Add boolean arg.
+ * match.cc (gfc_free_omp_namelist): Update to free
+ interop union members.
+ * match.h (gfc_match_omp_interop): New.
+ * openmp.cc (gfc_omp_directives): Uncomment 'interop' entry.
+ (gfc_free_omp_clauses, gfc_match_omp_allocate,
+ gfc_match_omp_flush, gfc_match_omp_clause_reduction): Update
+ call.
+ (enum omp_mask2): Add OMP_CLAUSE_{INIT,USE,DESTROY}.
+ (OMP_INTEROP_CLAUSES): Use it.
+ (gfc_match_omp_clauses): Match those clauses.
+ (gfc_match_omp_prefer_type, gfc_match_omp_init,
+ gfc_match_omp_interop): New.
+ (resolve_omp_clauses): Handle interop clauses.
+ (omp_code_to_statement): Add ST_OMP_INTEROP.
+ (gfc_resolve_omp_directive): Add EXEC_OMP_INTEROP.
+ * parse.cc (decode_omp_directive): Parse 'interop' directive.
+ (next_statement, gfc_ascii_statement): Handle ST_OMP_INTEROP.
+ * st.cc (gfc_free_statement): Likewise
+ * resolve.cc (gfc_resolve_code): Handle EXEC_OMP_INTEROP.
+ * trans.cc (trans_code): Likewise.
+ * trans-openmp.cc (gfc_trans_omp_directive): Print 'sorry'
+ for EXEC_OMP_INTEROP.
+
2024-09-05 Harald Anlauf <anlauf@gmx.de>
PR fortran/100273
diff --git a/gcc/po/ChangeLog b/gcc/po/ChangeLog
index 9903048..37ebf4a 100644
--- a/gcc/po/ChangeLog
+++ b/gcc/po/ChangeLog
@@ -1,3 +1,7 @@
+2024-09-06 Joseph Myers <josmyers@redhat.com>
+
+ * uk.po: Update.
+
2024-08-28 Joseph Myers <josmyers@redhat.com>
* ka.po: New file.
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index e7bb015..e28168c 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,108 @@
+2024-09-06 Jason Merrill <jason@redhat.com>
+
+ PR tree-optimization/107919
+ * g++.dg/warn/Wuninitialized-pr107919-1.C: Add -Wsystem-headers and
+ xfail.
+
+2024-09-06 Carl Love <cel@linux.ibm.com>
+
+ * gcc.target/powerpc/lsbb-runnable.c: Add test cases for the vector
+ signed char and vector bool char instances of
+ vec_test_lsbb_all_zeros and vec_test_lsbb_all_ones built-ins.
+ * gcc.target/powerpc/lsbb.c: Add compile test cases for the vector
+ signed char and vector bool char instances of
+ vec_test_lsbb_all_zeros and vec_test_lsbb_all_ones built-ins.
+
+2024-09-06 Tamar Christina <tamar.christina@arm.com>
+
+ PR tree-optimization/116628
+ * gcc.dg/vect/pr116628.c: New test.
+
+2024-09-06 Martin Jambor <mjambor@suse.cz>
+
+ PR ipa/115815
+ * gcc.dg/lto/pr115815_0.c: New test.
+
+2024-09-06 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/115769
+ * g++.dg/DRs/dr2867-1.C: New test.
+ * g++.dg/DRs/dr2867-2.C: New test.
+
+2024-09-06 Georg-Johann Lay <avr@gjlay.de>
+
+ PR rtl-optimization/116321
+ * gcc.target/avr/torture/lra-pr116321.c: New test.
+
+2024-09-06 Tobias Burnus <tburnus@baylibre.com>
+
+ * gfortran.dg/gomp/interop-1.f90: New test.
+ * gfortran.dg/gomp/interop-2.f90: New test.
+ * gfortran.dg/gomp/interop-3.f90: New test.
+
+2024-09-06 Richard Biener <rguenther@suse.de>
+
+ * gcc.dg/vect/O3-pr39675-2.c: Adjust expected number of SLP.
+ * gcc.dg/vect/fast-math-vect-call-1.c: Likewise.
+ * gcc.dg/vect/no-scevccp-slp-31.c: Likewise.
+ * gcc.dg/vect/slp-12b.c: Likewise.
+ * gcc.dg/vect/slp-12c.c: Likewise.
+ * gcc.dg/vect/slp-19a.c: Likewise.
+ * gcc.dg/vect/slp-19b.c: Likewise.
+ * gcc.dg/vect/slp-4-big-array.c: Likewise.
+ * gcc.dg/vect/slp-4.c: Likewise.
+ * gcc.dg/vect/slp-5.c: Likewise.
+ * gcc.dg/vect/slp-7.c: Likewise.
+ * gcc.dg/vect/slp-perm-7.c: Likewise.
+ * gcc.dg/vect/slp-37.c: Likewise.
+ * gcc.dg/vect/fast-math-vect-call-2.c: Likewise.
+ * gcc.dg/vect/slp-26.c: RISC-V can now SLP two instances.
+ * gcc.dg/vect/vect-outer-slp-3.c: Disable vectorization of
+ initialization loop.
+ * gcc.dg/vect/slp-reduc-5.c: Likewise.
+ * gcc.dg/vect/no-scevccp-outer-12.c: Un-XFAIL. SLP can handle
+ inner loop inductions with multiple vector stmt copies.
+ * gfortran.dg/vect/vect-8.f90: Adjust expected number of
+ vectorized loops.
+ * gcc.target/i386/vectorize1.c: Adjust what we scan for.
+
+2024-09-06 Raphael Moreira Zinsly <rzinsly@ventanamicro.com>
+
+ * gcc.target/riscv/synthesis-15.c: New test.
+
+2024-09-06 Raphael Moreira Zinsly <rzinsly@ventanamicro.com>
+
+ * gcc.target/riscv/synthesis-7.c: Adjust expected output.
+ * gcc.target/riscv/synthesis-12.c: New test.
+ * gcc.target/riscv/synthesis-13.c: New test.
+ * gcc.target/riscv/synthesis-14.c: New test.
+
+2024-09-06 Pan Li <pan2.li@intel.com>
+
+ * gcc.target/riscv/sat_arith.h: Add test helper macros.
+ * gcc.target/riscv/sat_u_add_imm_type_check-57.c: New test.
+ * gcc.target/riscv/sat_u_add_imm_type_check-58.c: New test.
+ * gcc.target/riscv/sat_u_add_imm_type_check-59.c: New test.
+ * gcc.target/riscv/sat_u_add_imm_type_check-60.c: New test.
+
+2024-09-06 Pan Li <pan2.li@intel.com>
+
+ * gcc.target/riscv/sat_arith.h: Add test helper macros.
+ * gcc.target/riscv/sat_u_add_imm_type_check-53.c: New test.
+ * gcc.target/riscv/sat_u_add_imm_type_check-54.c: New test.
+ * gcc.target/riscv/sat_u_add_imm_type_check-55.c: New test.
+ * gcc.target/riscv/sat_u_add_imm_type_check-56.c: New test.
+
+2024-09-06 Jason Merrill <jason@redhat.com>
+
+ PR c++/46457
+ PR c++/81665
+ * c-c++-common/attr-flag-enum-1.c: New test.
+
+2024-09-06 liuhongt <hongtao.liu@intel.com>
+
+ * gcc.target/i386/pr115517.c: New test.
+
2024-09-05 Jason Merrill <jason@redhat.com>
* g++.dg/diagnostic/redeclaration-6.C: Add -fno-implicit-constexpr.