]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Mon, 23 Dec 2024 00:16:26 +0000 (00:16 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Mon, 23 Dec 2024 00:16:26 +0000 (00:16 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/ada/ChangeLog
gcc/fortran/ChangeLog
gcc/testsuite/ChangeLog
libgfortran/ChangeLog

index 394c5385fbf1976b0f02e01ea81fdda7277b45f6..062fea2175b69a9a89f7c90aa64f225572efa7ad 100644 (file)
@@ -1,3 +1,8 @@
+2024-12-22  Pan Li  <pan2.li@intel.com>
+
+       * config/riscv/autovec.md: Align the operand for strided
+       load/store pattern.
+
 2024-12-21  Arsen Arsenović  <arsen@aarsen.me>
 
        PR middle-end/109224
index 6f2cf7ace4e569457a870ea7aaaa6848466c128a..8f5ae44e83188fc6ea8b74a76965797b53290d41 100644 (file)
@@ -1 +1 @@
-20241222
+20241223
index 3b13051bd5bfc037ea71f037d6dbc653172c38b9..f6b3b11ba537057f18d63ad42e444c32ac976f2a 100644 (file)
@@ -1,3 +1,15 @@
+2024-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+       * libgnat/system-gnu.ads: Set Max_Priority to 60.
+
+2024-12-22  Samuel Thibault  <samuel.thibault@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  <simon@pushface.org>
 
        PR target/117538
index bf780fe6e3325a7bce857826bd669dd84e3e5ebc..73cc69d2464b3a97ff3d1e62f46d685207128c39 100644 (file)
@@ -1,3 +1,85 @@
+2024-12-22  Harald Anlauf  <anlauf@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  <vehre@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  <vehre@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  <anlauf@gmx.de>
 
        PR fortran/104819
index e7feb70ebc587a411c4455f24f791d7f0b5d382c..920d7c07ae331001ee02ecc7f2f98108b5857012 100644 (file)
@@ -1,3 +1,16 @@
+2024-12-22  Torbjörn SVENSSON  <torbjorn.svensson@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  <vehre@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ć  <arsen@aarsen.me>
 
        PR middle-end/109224
index 2d9740085122eb080a8cd39e2936e220c59d0d89..174d4672e42bb9cfe3887ca851033a3420950b95 100644 (file)
@@ -1,3 +1,25 @@
+2024-12-22  Andre Vehreschild  <vehre@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  <vehre@gcc.gnu.org>
 
        PR fortran/57598