https://gcc.gnu.org/g:946ebec154ebe2eba1688442270f1d1146d354ca
commit r15-6418-g946ebec154ebe2eba1688442270f1d1146d354ca Author: GCC Administrator <gccadmin@gcc.gnu.org> Date: Mon Dec 23 00:16:26 2024 +0000 Daily bump. Diff: --- gcc/ChangeLog | 5 +++ gcc/DATESTAMP | 2 +- gcc/ada/ChangeLog | 12 ++++++++ gcc/fortran/ChangeLog | 82 +++++++++++++++++++++++++++++++++++++++++++++++++ gcc/testsuite/ChangeLog | 13 ++++++++ libgfortran/ChangeLog | 22 +++++++++++++ 6 files changed, 135 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 394c5385fbf1..062fea2175b6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2024-12-22 Pan Li <pan2...@intel.com> + + * config/riscv/autovec.md: Align the operand for strided + load/store pattern. + 2024-12-21 Arsen Arsenović <ar...@aarsen.me> PR middle-end/109224 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 6f2cf7ace4e5..8f5ae44e8318 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20241222 +20241223 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 3b13051bd5bf..f6b3b11ba537 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,15 @@ +2024-12-22 Samuel Thibault <samuel.thiba...@ens-lyon.org> + + * libgnat/system-gnu.ads: Set Max_Priority to 60. + +2024-12-22 Samuel Thibault <samuel.thiba...@ens-lyon.org> + + * s-oscons-tmplt.c [__GNU__] (_XOPEN_SOURCE, _BSD_SOURCE): Define. + [__GNU__]: Include <pthread.h> and <signal.h> + [__GNU__]: Set MSG_Forced_Flags to "MSG_NOSIGNAL". + [__GNU__]: Define SIZEOF_sigset. + [__GNU__]: Define PTHREAD_*SIZE + 2024-12-18 Simon Wright <si...@pushface.org> PR target/117538 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index bf780fe6e332..73cc69d2464b 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,85 @@ +2024-12-22 Harald Anlauf <anl...@gmx.de> + + * check.cc (gfc_check_random_seed): Clear gmp variables returned by + gfc_array_size. + * expr.cc (gfc_check_pointer_assign): Likewise. + +2024-12-22 Andre Vehreschild <ve...@gcc.gnu.org> + + PR fortran/107635 + * gfortran.h (gfc_add_caf_accessor): New function. + * gfortran.texi: Document new API routines. + * resolve.cc (get_arrayspec_from_expr): Synthesize the arrayspec + resulting from an expression, i.e. not only the rank, but also + the bounds. + (remove_coarray_from_derived_type): Remove coarray ref from a + derived type to access it in access routine. + (convert_coarray_class_to_derived_type): Same but for classes. + The result is a derived type. + (split_expr_at_caf_ref): Split an expression at the coarray + reference to move the reference after the coarray ref into the + access routine. + (check_add_new_component): Helper to add variables as + components to derived type transfered to the access routine. + (create_get_parameter_type): Create the derived type to transfer + addressing data to the access routine. + (create_get_callback): Create the access routine. + (add_caf_get_intrinsic): Use access routine instead of old + caf_get. + * trans-decl.cc (gfc_build_builtin_function_decls): Register new + API routines. + (gfc_create_module_variable): Use renamed flag. + (gfc_emit_parameter_debug_info): + (struct caf_accessor): Linked list of hash-access routine pairs. + (gfc_add_caf_accessor): Add a hash-access routine pair to above + linked list. + (create_caf_accessor_register): Add all registered hash-access + routine pairs to the current caf_init. + (generate_coarray_init): Use routine above. + (gfc_generate_module_vars): Use renamed flag. + (generate_local_decl): Same. + (gfc_generate_function_code): Same. + (gfc_process_block_locals): Same. + * trans-intrinsic.cc (conv_shape_to_cst): Build the product of a + shape. + (gfc_conv_intrinsic_caf_get): Create call to access routine. + (conv_caf_send): Adapt to caf_get using less arguments. + (gfc_conv_intrinsic_function): Same. + * trans.cc (gfc_trans_force_lval): Helper to ensure that an + expression can be used as an lvalue-ref. + * trans.h (gfc_trans_force_lval): See above. + +2024-12-22 Andre Vehreschild <ve...@gcc.gnu.org> + + PR fortran/107635 + * gfortran.h (gfc_comp_caf_token): Convenient macro for + accessing caf_token's tree. + * resolve.cc (gfc_resolve_ref): Backup caf_lhs when resolving + expr in array_ref. + (remove_caf_get_intrinsic): Removed. + (resolve_variable): Set flag caf_lhs when resolving lhs of + assignment to prevent insertion of caf_get. + (resolve_lock_unlock_event): Same, but the lhs is the parameter. + (resolve_ordinary_assign): Move conversion to caf_send to + resolve_codes. + (resolve_codes): Adress caf_get and caf_send here. + (resolve_fl_derived0): Set component's caf_token when token is + necessary. + * trans-array.cc (gfc_conv_array_parameter): Get a coarray for + expression that have a corank. + (structure_alloc_comps): Use macro to get caf_token's tree. + (gfc_alloc_allocatable_for_assignment): Same. + * trans-expr.cc (gfc_get_ultimate_alloc_ptr_comps_caf_token): + Same. + (gfc_trans_structure_assign): Same. + * trans-intrinsic.cc (conv_expr_ref_to_caf_ref): Same. + (has_ref_after_cafref): New function to figure that after a + reference of a coarray another reference is present. + (conv_caf_send): Get rhs from correct place, when caf_get is + not removed. + * trans-types.cc (gfc_get_derived_type): Get caf_token from + component and no longer guessing. + 2024-12-21 Harald Anlauf <anl...@gmx.de> PR fortran/104819 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e7feb70ebc58..920d7c07ae33 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,16 @@ +2024-12-22 Torbjörn SVENSSON <torbjorn.svens...@foss.st.com> + + PR testsuite/103298 + * gcc.target/arm/pr43920-2.c: Change to assembler pattern + "(cmp|mov|orr|and)(eq|ne)" for the check. Remove size check. + +2024-12-22 Andre Vehreschild <ve...@gcc.gnu.org> + + * gfortran.dg/coarray_atomic_5.f90: Adapted to look for + get_by_ct. + * gfortran.dg/coarray_lib_comm_1.f90: Same. + * gfortran.dg/coarray_stat_function.f90: Same. + 2024-12-21 Arsen Arsenović <ar...@aarsen.me> PR middle-end/109224 diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 2d9740085122..174d4672e42b 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,25 @@ +2024-12-22 Andre Vehreschild <ve...@gcc.gnu.org> + + * caf/libcaf.h (_gfortran_caf_register_accessor): New function + to register access routines at runtime. + (_gfortran_caf_register_accessors_finish): New function to + finish registration of access routine and sort hash map. + (_gfortran_caf_get_remote_function_index): New function to + convert an hash to an index. + (_gfortran_caf_get_by_ct): New function to get data from a + remote image using the access routine given by an index. + * caf/single.c (struct accessor_hash_t): Hashmap type. + (_gfortran_caf_send): Fixed formatting. + (_gfortran_caf_register_accessor): Register a hash accessor + routine. + (hash_compare): Compare two hashes for sort() and bsearch(). + (_gfortran_caf_register_accessors_finish): Sort the hashmap to + allow bsearch()'s quick lookup. + (_gfortran_caf_get_remote_function_index): Map a hash to an + index. + (_gfortran_caf_get_by_ct): Get data from a remote image using + the index provided by get_remote_function_index(). + 2024-12-20 Andre Vehreschild <ve...@gcc.gnu.org> PR fortran/57598