diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 6cfef781ce8a..18f1326a229b 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,14 @@ +2022-12-10 Thomas Schwinge + + * gcc-changelog/git_commit.py (default_changelog_locations): Add + 'gcc/rust'. + (bug_components): Add 'rust'. + +2022-12-10 Gaius Mulley + + * gcc-changelog/git_commit.py (default_changelog_locations): + New entry for gcc/m2. New entry for libgm2. + 2022-12-06 David Malcolm * gcc.doxy (INPUT): Add gcc/analyzer subdirectory. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 59760ed92405..e2a0facc476d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2022-12-10 Jakub Jelinek + + PR tree-optimization/107997 + * tree-ssa-loop-ivopts.cc: Include cfganal.h. + (create_new_iv) : If ip_end_pos bb is non-empty and ends + with a stmt which ends bb, instead of adding iv update after it split + the latch edge and insert iterator into the new latch bb. + 2022-12-09 Jiufu Guo * config/rs6000/rs6000.cc (rs6000_emit_set_const): Remove copy_rtx. diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 039ae27f0093..0706710bce80 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20221210 +20221211 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index e57deb55a688..de713a88888d 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,20 @@ +2022-12-10 Harald Anlauf + + PR fortran/106911 + * simplify.cc (gfc_simplify_ishftc): If the SIZE argument is known + to be outside the allowed range, terminate simplification. + +2022-12-10 Tobias Burnus + + * match.cc (gfc_match_member_sep): Use %<...%> in gfc_error. + * openmp.cc (gfc_match_oacc_routine, gfc_match_omp_context_selector, + gfc_match_omp_context_selector_specification, + gfc_match_omp_declare_variant, resolve_omp_clauses): Likewise; + use %qs instead of '%s'. + * primary.cc (match_real_constant, gfc_match_varspec): Likewise. + * resolve.cc (gfc_resolve_formal_arglist, resolve_operator, + resolve_ordinary_assign): Likewise. + 2022-12-09 Paul Thomas PR fortran/107872 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index df2b484eac3d..c53b4176062b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,13 @@ +2022-12-10 Harald Anlauf + + PR fortran/106911 + * gfortran.dg/pr106911.f90: New test. + +2022-12-10 Jakub Jelinek + + PR tree-optimization/107997 + * gcc.c-torture/compile/pr107997.c: New test. + 2022-12-09 Paul Thomas PR fortran/107872 diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog index 1ced6c074890..cbfe70958e3a 100644 --- a/libbacktrace/ChangeLog +++ b/libbacktrace/ChangeLog @@ -1,3 +1,28 @@ +2022-12-10 Ian Lance Taylor + + * elf.c (ZSTD_TABLE_*): Use elf_zstd_fse_baseline_entry. + (ZSTD_ENCODE_BASELINE_BITS): Define. + (ZSTD_DECODE_BASELINE, ZSTD_DECODE_BASEBITS): Define. + (elf_zstd_literal_length_base): New static const array. + (elf_zstd_match_length_base): Likewise. + (struct elf_zstd_fse_baseline_entry): Define. + (elf_zstd_make_literal_baseline_fse): New static function. + (elf_zstd_make_offset_baseline_fse): Likewise. + (elf_zstd_make_match_baseline_fse): Likewise. + (print_table, main): Use elf_zstd_fse_baseline_entry. + (elf_zstd_lit_table, elf_zstd_match_table): Likewise. + (elf_zstd_offset_table): Likewise. + (struct elf_zstd_seq_decode): Likewise. Remove use_rle and rle + fields. + (elf_zstd_unpack_seq_decode): Use elf_zstd_fse_baseline_entry, + taking a conversion function. Convert RLE to FSE. + (elf_zstd_literal_length_baseline): Remove. + (elf_zstd_literal_length_bits): Remove. + (elf_zstd_match_length_baseline): Remove. + (elf_zstd_match_length_bits): Remove. + (elf_zstd_decompress): Use elf_zstd_fse_baseline_entry. Rewrite + and simplify main loop. + 2022-12-08 Ian Lance Taylor * configure.ac: Check for zstd library and diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index f3e84bec34e2..04b4e4f0fc0c 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,40 @@ +2022-12-10 Tobias Burnus + + * libgomp.h (struct target_mem_desc): Predeclare; move + below after 'reverse_splay_tree_node' and add rev_array + member. + (struct reverse_splay_tree_key_s, reverse_splay_compare): New. + (reverse_splay_tree_node, reverse_splay_tree, + reverse_splay_tree_key): New typedef. + (struct gomp_device_descr): Add mem_map_rev member. + * oacc-host.c (host_dispatch): NULL init .mem_map_rev. + * plugin/plugin-nvptx.c (GOMP_OFFLOAD_get_num_devices): Claim + support for GOMP_REQUIRES_REVERSE_OFFLOAD. + * splay-tree.h (splay_tree_callback_stop): New typedef; like + splay_tree_callback but returning int not void. + (splay_tree_foreach_lazy): Define; like splay_tree_foreach but + taking splay_tree_callback_stop as argument. + * splay-tree.c (splay_tree_foreach_internal_lazy, + splay_tree_foreach_lazy): New; but early exit if callback returns + nonzero. + * target.c: Instatiate splay_tree_c with splay_tree_prefix 'reverse'. + (gomp_map_lookup_rev): New. + (gomp_load_image_to_device): Handle reverse-offload function + lookup table. + (gomp_unload_image_from_device): Free devicep->mem_map_rev. + (struct gomp_splay_tree_rev_lookup_data, gomp_splay_tree_rev_lookup, + gomp_map_rev_lookup, struct cpy_data, gomp_map_cdata_lookup_int, + gomp_map_cdata_lookup): New auxiliary structs and functions for + gomp_target_rev. + (gomp_target_rev): Implement reverse offloading and its mapping. + (gomp_target_init): Init current_device.mem_map_rev.root. + * testsuite/libgomp.fortran/reverse-offload-2.f90: New test. + * testsuite/libgomp.fortran/reverse-offload-3.f90: New test. + * testsuite/libgomp.fortran/reverse-offload-4.f90: New test. + * testsuite/libgomp.fortran/reverse-offload-5.f90: New test. + * testsuite/libgomp.fortran/reverse-offload-5a.f90: New test without + mapping of on-device allocated variables. + 2022-12-09 Tobias Burnus * libgomp.texi (5.1 Impl. Status): Split allocate clause/directive