aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog77
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/c/ChangeLog9
-rw-r--r--gcc/cp/ChangeLog9
-rw-r--r--gcc/fortran/ChangeLog31
-rw-r--r--gcc/m2/ChangeLog48
-rw-r--r--gcc/testsuite/ChangeLog74
7 files changed, 249 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f6ac554..8e16680 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,80 @@
+2024-03-14 Jason Merrill <jason@redhat.com>
+
+ * tree-core.h (enum clobber_kind): Clarify CLOBBER_OBJECT_*
+ comments.
+
+2024-03-14 John David Anglin <danglin@gcc.gnu.org>
+
+ PR target/114288
+ * config/pa/pa.cc (pa_legitimate_address_p): Don't allow
+ 14-bit displacements before reload for modes that may use
+ a floating-point load or store.
+
+2024-03-14 David Faust <david.faust@oracle.com>
+
+ * config/bpf/bpf.h (INT8_TYPE): Change to signed char.
+
+2024-03-14 Max Filippov <jcmvbkbc@gmail.com>
+
+ * config/xtensa/xtensa.md (movsi_internal): Move l32i and s32i
+ patterns ahead of the l32i.n and s32i.n.
+
+2024-03-14 Jakub Jelinek <jakub@redhat.com>
+
+ * config/gcn/gcn-hsa.h (ABI_VERSION_SPEC): Fix comment typo.
+
+2024-03-14 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/113907
+ * ipa-icf.cc (sem_item_optimizer::merge_classes): Reset
+ SSA_NAME_RANGE_INFO and SSA_NAME_PTR_INFO on successfully ICF merged
+ functions.
+
+2024-03-14 Xi Ruoyao <xry111@xry111.site>
+
+ * config/loongarch/loongarch.md (any_ge): Remove.
+ (sge<u>_<X:mode><GPR:mode>): Remove.
+
+2024-03-14 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/114310
+ * config/aarch64/aarch64.cc (aarch64_expand_compare_and_swap): For
+ TImode force newval into a register.
+
+2024-03-14 Chung-Lin Tang <cltang@baylibre.com>
+
+ * tree.h (OMP_CLAUSE_MAP_READONLY): New macro.
+ (OMP_CLAUSE__CACHE__READONLY): New macro.
+ * tree-core.h (struct GTY(()) tree_base): Adjust comments for new
+ uses of readonly_flag bit in OMP_CLAUSE_MAP_READONLY and
+ OMP_CLAUSE__CACHE__READONLY.
+ * tree-pretty-print.cc (dump_omp_clause): Add support for printing
+ OMP_CLAUSE_MAP_READONLY and OMP_CLAUSE__CACHE__READONLY.
+
+2024-03-14 Andreas Krebbel <krebbel@linux.ibm.com>
+
+ * config/s390/s390.cc (s390_encode_section_info): Adjust the check
+ for misaligned symbols.
+ * config/s390/s390.opt: Improve documentation.
+
+2024-03-14 Jakub Jelinek <jakub@redhat.com>
+
+ * gimple-iterator.cc (edge_before_returns_twice_call): Copy all
+ flags and probability from ad_edge to e edge. If CDI_DOMINATORS
+ are computed, recompute immediate dominator of other_edge->src
+ and other_edge->dest.
+ (gsi_safe_insert_before, gsi_safe_insert_seq_before): Update *iter
+ for the returns_twice call case to the gsi_for_stmt (stmt) to deal
+ with update it for bb splitting.
+
+2024-03-14 liuhongt <hongtao.liu@intel.com>
+
+ * config/i386/i386-features.cc
+ (general_scalar_chain::convert_op): Handle REG_EH_REGION note.
+ (convert_scalars_to_vector): Ditto.
+ * config/i386/i386-features.h (class scalar_chain): New
+ memeber control_flow_insns.
+
2024-03-13 Jakub Jelinek <jakub@redhat.com>
PR middle-end/114319
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index d58fa7c..d71dec2 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20240314
+20240315
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index f8b5631..b8374c7 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,12 @@
+2024-03-14 Chung-Lin Tang <cltang@baylibre.com>
+
+ * c-parser.cc (c_parser_oacc_data_clause): Add parsing support for
+ 'readonly' modifier, set OMP_CLAUSE_MAP_READONLY if readonly modifier
+ found, update comments.
+ (c_parser_oacc_cache): Add parsing support for 'readonly' modifier,
+ set OMP_CLAUSE__CACHE__READONLY if readonly modifier found, update
+ comments.
+
2024-03-08 Jakub Jelinek <jakub@redhat.com>
PR debug/113918
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 2965b95..05fd84c 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,12 @@
+2024-03-14 Chung-Lin Tang <cltang@baylibre.com>
+
+ * parser.cc (cp_parser_oacc_data_clause): Add parsing support for
+ 'readonly' modifier, set OMP_CLAUSE_MAP_READONLY if readonly modifier
+ found, update comments.
+ (cp_parser_oacc_cache): Add parsing support for 'readonly' modifier,
+ set OMP_CLAUSE__CACHE__READONLY if readonly modifier found, update
+ comments.
+
2024-03-12 Nathaniel Shead <nathanieloshead@gmail.com>
PR c++/98645
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 399a284..21a85a6 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,34 @@
+2024-03-14 Thomas Schwinge <thomas@codesourcery.com>
+
+ * dump-parse-tree.cc (show_omp_clauses): Handle 'self_expr'.
+ * openmp.cc (gfc_free_omp_clauses): Likewise.
+ * trans-openmp.cc (gfc_split_omp_clauses): Don't handle 'self_expr'.
+
+2024-03-14 Chung-Lin Tang <cltang@baylibre.com>
+
+ * dump-parse-tree.cc (show_omp_namelist): Print "readonly," for
+ OMP_LIST_MAP and OMP_LIST_CACHE if n->u.map.readonly is set.
+ Adjust 'n->u.map_op' to 'n->u.map.op'.
+ * gfortran.h (typedef struct gfc_omp_namelist): Adjust map_op as
+ 'ENUM_BITFIELD (gfc_omp_map_op) op:8', add 'bool readonly' field,
+ change to named struct field 'map'.
+ * openmp.cc (gfc_match_omp_map_clause): Adjust 'n->u.map_op' to
+ 'n->u.map.op'.
+ (gfc_match_omp_clause_reduction): Likewise.
+ (gfc_match_omp_clauses): Add readonly modifier parsing for OpenACC
+ copyin clause, set 'n->u.map.op' and 'n->u.map.readonly' for parsed
+ clause. Adjust 'n->u.map_op' to 'n->u.map.op'.
+ (gfc_match_oacc_declare): Adjust 'n->u.map_op' to 'n->u.map.op'.
+ (gfc_match_oacc_cache): Add readonly modifier parsing for OpenACC
+ cache directive.
+ (resolve_omp_clauses): Adjust 'n->u.map_op' to 'n->u.map.op'.
+ * trans-decl.cc (add_clause): Adjust 'n->u.map_op' to 'n->u.map.op'.
+ (finish_oacc_declare): Likewise.
+ * trans-openmp.cc (gfc_trans_omp_clauses): Set OMP_CLAUSE_MAP_READONLY,
+ OMP_CLAUSE__CACHE__READONLY to 1 when readonly is set. Adjust
+ 'n->u.map_op' to 'n->u.map.op'.
+ (gfc_add_clause_implicitly): Adjust 'n->u.map_op' to 'n->u.map.op'.
+
2024-03-13 Harald Anlauf <anlauf@gmx.de>
PR fortran/114001
diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog
index d9da0b1..b051f01 100644
--- a/gcc/m2/ChangeLog
+++ b/gcc/m2/ChangeLog
@@ -1,3 +1,51 @@
+2024-03-14 Gaius Mulley <gaiusmod2@gmail.com>
+
+ PR modula2/114294
+ * gm2-compiler/M2Quads.mod (BuildConstHighFromSym):
+ Call PutConst to assign the type Cardinal in the result
+ constant.
+
+2024-03-14 Gaius Mulley <gaiusmod2@gmail.com>
+
+ PR modula2/114333
+ * gm2-compiler/M2GenGCC.mod (CodeStatement): Remove op1, op2 and
+ op3 parameters to CodeIfLess, CodeIfLessEqu, CodeIfGreEqu, CodeIfGre,
+ CodeIfIn, CodeIfNotIn.
+ (CodeIfLess): Rewrite.
+ (PerformCodeIfLess): New procedure.
+ (CodeIfLess): Rewrite.
+ (PerformCodeIfLess): New procedure.
+ (CodeIfLessEqu): Rewrite.
+ (PerformCodeIfLessEqu): New procedure.
+ (CodeIfGreEqu): Rewrite.
+ (PerformCodeIfGreEqu): New procedure.
+ (CodeIfGre): Rewrite.
+ (PerformCodeIfGre): New procedure.
+ (CodeIfIn): Rewrite.
+ (PerformCodeIfIn): New procedure.
+ (CodeIfNotIn): Rewrite.
+ (PerformCodeIfNotIn): New procedure.
+
+2024-03-14 Gaius Mulley <gaiusmod2@gmail.com>
+
+ PR modula2/114333
+ * gm2-compiler/M2Check.mod (checkUnbounded): New procedure
+ function.
+ (checkArrayTypeEquivalence): Extend checking to cover unbounded
+ arrays, arrays and constants.
+ (IsTyped): Simplified the expression and corrected a test for
+ IsConstructor.
+ (checkTypeKindViolation): New procedure function.
+ (doCheckPair): Call checkTypeKindViolation.
+ * gm2-compiler/M2GenGCC.mod (CodeStatement): Remove parameters
+ to CodeEqu and CodeNotEqu.
+ (PerformCodeIfEqu): New procedure.
+ (CodeIfEqu): Rewrite.
+ (PerformCodeIfNotEqu): New procedure.
+ (CodeIfNotEqu): Rewrite.
+ * gm2-compiler/M2Quads.mod (BuildRelOpFromBoolean): Correct
+ comment.
+
2024-03-11 Gaius Mulley <gaiusmod2@gmail.com>
PR modula2/114295
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 17d0558..b8e5161 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,77 @@
+2024-03-14 Gaius Mulley <gaiusmod2@gmail.com>
+
+ PR modula2/114294
+ * gm2/pim/pass/log: Removed.
+ * gm2/pim/pass/highexp.mod: New test.
+
+2024-03-14 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/113907
+ * gcc.dg/pr113907-1.c: New test.
+
+2024-03-14 Gaius Mulley <gaiusmod2@gmail.com>
+
+ PR modula2/114333
+ * gm2/pim/fail/badset5.mod: New test.
+ * gm2/pim/fail/badset6.mod: New test.
+
+2024-03-14 Thomas Schwinge <tschwinge@baylibre.com>
+
+ * c-c++-common/goacc/readonly-1.c: Add basic OpenACC 'declare'
+ testing.
+ * gfortran.dg/goacc/readonly-1.f90: Likewise.
+
+2024-03-14 Jakub Jelinek <jakub@redhat.com>
+
+ PR target/114310
+ * gcc.dg/pr114310.c: New test.
+
+2024-03-14 Juergen Christ <jchrist@linux.ibm.com>
+
+ * gcc.target/s390/htm-builtins-1.c: Fix.
+ * gcc.target/s390/htm-builtins-2.c: Fix.
+
+2024-03-14 Lewis Hyatt <lhyatt@gmail.com>
+
+ PR preprocessor/110558
+ * c-c++-common/cpp/has-include-2.c: New test.
+ * c-c++-common/cpp/has-include-2.h: New test.
+
+2024-03-14 Lewis Hyatt <lhyatt@gmail.com>
+
+ * lib/gcc-defs.exp (dg-additional-options): Make $srcdir usable in a
+ dg-additional-options directive.
+ * c-c++-common/cpp/has-include-next-2-dir/has-include-next-2.h: New test.
+ * c-c++-common/cpp/has-include-next-2.c: New test.
+
+2024-03-14 Gaius Mulley <gaiusmod2@gmail.com>
+
+ PR modula2/114333
+ * gm2/cse/pass/testcse54.mod: New test.
+ * gm2/iso/run/pass/array9.mod: New test.
+ * gm2/iso/run/pass/strcons3.mod: New test.
+ * gm2/iso/run/pass/strcons4.mod: New test.
+ * gm2/pim/fail/badset1.mod: New test.
+ * gm2/pim/fail/badset2.mod: New test.
+ * gm2/pim/fail/badset3.mod: New test.
+ * gm2/pim/fail/badset4.mod: New test.
+
+2024-03-14 Chung-Lin Tang <cltang@baylibre.com>
+
+ * c-c++-common/goacc/readonly-1.c: New test.
+ * gfortran.dg/goacc/readonly-1.f90: New test.
+
+2024-03-14 Andreas Krebbel <krebbel@linux.ibm.com>
+
+ * gcc.target/s390/aligned-1.c: Add weak and void variables
+ incorporating the cases from unaligned-2.c.
+ * gcc.target/s390/unaligned-1.c: Likewise.
+ * gcc.target/s390/unaligned-2.c: Removed.
+
+2024-03-14 liuhongt <hongtao.liu@intel.com>
+
+ * g++.target/i386/pr111822.C: New test.
+
2024-03-13 Harald Anlauf <anlauf@gmx.de>
PR fortran/114001