diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cf66821df9b..06649625892 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2024-05-05 Andrew Pinski + + * gimple-loop-versioning.cc (loop_versioning): Remove m_nloops field. + (loop_versioning::loop_versioning): Remove initialization of + m_nloops field and move it to be a local variable. + (loop_versioning::analyze_blocks): Fix formating. + 2024-05-04 Aldy Hernandez * gimple-range-op.cc (class cfn_pass_through_arg1): Add overloads diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 66773a4b982..4f6ab4ebaca 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20240505 +20240506 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index a29c4a63ab1..242df7ead8b 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,13 @@ +2024-05-05 Harald Anlauf + + PR fortran/114827 + * trans-array.cc (gfc_alloc_allocatable_for_assignment): Take into + account _len of unlimited polymorphic entities when calculating + the effective element size for allocation size and array span. + Set _len of lhs to _len of rhs. + * trans-expr.cc (trans_class_assignment): Take into account _len + of unlimited polymorphic entities for allocation size. + 2024-04-29 Francois-Xavier Coudert * expr.cc (check_transformational): Add SELECTED_LOGICAL_KIND diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b9c7ccd4ecf..03c88bbed07 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2024-05-05 Harald Anlauf + + PR fortran/114827 + * gfortran.dg/asan/unlimited_polymorphic_34.f90: New test. + 2024-05-03 Andrew Pinski * gfortran.dg/gomp/atomic-21.f90: Update testcase for the removal of `;`. diff --git a/libgcc/config/libbid/ChangeLog b/libgcc/config/libbid/ChangeLog index 6a2b95aa0de..db0fc68230c 100644 --- a/libgcc/config/libbid/ChangeLog +++ b/libgcc/config/libbid/ChangeLog @@ -1,3 +1,62 @@ +2024-05-05 liuhongt + + * bid128_fma.c (add_and_round): Fix bug: the result + of (+5E+368)*(+10E-34)+(-10E+369) was returning + -9999999999999999999999999999999999E+336 instead of expected + result -1000000000000000000000000000000000E+337. + (bid128_ext_fma): Ditto. + (bid64qqq_fma): Ditto. + * bid128_noncomp.c: Change return type of bid128_class from + int to class_t. + * bid128_round_integral.c: Add default case to avoid compiler + warning. + * bid128_string.c (bid128_to_string): Replace 0x30 with '0' + for zero digit. + (bid128_from_string): Ditto. + * bid32_to_bid128.c (bid128_to_bid32): Fix Bug. In addition + to the INEXACT flag, the UNDERFLOW flag needs to be set (and + was not) when converting an input such as + +6931674235302037148946035460357709E+1857 to +1000000E-101 + * bid32_to_bid64.c (bid64_to_bid32): fix Bug, In addition to + the INEXACT flag, the UNDERFLOW flag needs to be set (and was + not) when converting an input such as +9999999000000001E-111 + to +1000000E-101. Furthermore, significant bits of NaNs are + set correctly now. For example, 0x7c00003b9aca0000 was + returning 0x7c000002 instead of 0x 7c000100. + * bid64_noncomp.c: Change return type of bid64_class from int + to class_t. + * bid64_round_integral.c (bid64_round_integral_exact): Add + default case to avoid compiler warning. + * bid64_string.c (bid64_from_string): Fix bug for rounding + up. The input string "10000000000000000" was returning + +1000000000000001E+1 instead of +1000000000000000E+1. + * bid64_to_bid128.c (bid128_to_bid64): Fix bug, in addition to + the INEXACT flag, the UNDERFLOW flag needs to be set (and was + not) when converting an input such as + +9999999999999999999999999999999999E-417 to + +1000000000000000E-398. + * bid_binarydecimal.c (bid32_to_binary64): Fix bug for + conversion between binary and bid types. For example, + 0x7c0F4240 was returning 0x7FFFA12000000000 instead of + expected double precision 0x7FF8000000000000. + (binary64_to_bid32): Ditto. + (binary80_to_bid32): Ditto. + (binary128_to_bid32): Ditto. + (binary80_to_bid64): Ditto. + (binary128_to_bid64): Ditto. + * bid_conf.h (BID_HIGH_128W): New macro. + (BID_LOW_128W): Ditto. + * bid_functions.h (__ENABLE_BINARY80__): Ditto. + (ALIGN): Ditto. + * bid_inline_add.h (get_add128): Add default case to avoid compiler + warning. + * bid_internal.h (get_BID64): Ditto. + (fast_get_BID64_check_OF): Ditto. + (ALIGN): New macro. + Co-authored-by: Anderson, Cristina S + Co-authored-by: Akkas, Ahmet + Co-authored-by: Cornea, Marius + 2022-05-20 Christophe Lyon * bid_binarydecimal.c (CLZ32_MASK16): Delete.