diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1018b0e17eef..5d47b031efb6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,50 @@ +2024-02-09 Jakub Jelinek + + PR tree-optimization/113783 + * gimple-lower-bitint.cc (bitint_large_huge::lower_stmt): Look + through VIEW_CONVERT_EXPR for final cast checks. Handle + VIEW_CONVERT_EXPRs from large/huge _BitInt to > MAX_FIXED_MODE_SIZE + INTEGER_TYPEs. + (gimple_lower_bitint): Don't merge mergeable operations or other + casts with VIEW_CONVERT_EXPRs to > MAX_FIXED_MODE_SIZE INTEGER_TYPEs. + * expr.cc (expand_expr_real_1): Don't use convert_modes if either + mode is BLKmode. + +2024-02-09 Jakub Jelinek + + * hwint.h (GCC_PRISZ, fmt_size_t, HOST_SIZE_T_PRINT_DEC, + HOST_SIZE_T_PRINT_UNSIGNED, HOST_SIZE_T_PRINT_HEX, + HOST_SIZE_T_PRINT_HEX_PURE): Define. + * ira-conflicts.cc (build_conflict_bit_table): Use it. Formatting + fixes. + +2024-02-09 Jakub Jelinek + + PR middle-end/113415 + * cfgexpand.cc (expand_asm_stmt): For asm goto, use + duplicate_insn_chain to duplicate after_rtl_seq sequence instead + of hand written loop with emit_insn of copy_insn and emit original + after_rtl_seq on the last edge. + +2024-02-09 Jakub Jelinek + + PR tree-optimization/113818 + * gimple-lower-bitint.cc (add_eh_edge): New function. + (bitint_large_huge::handle_load, + bitint_large_huge::lower_mergeable_stmt, + bitint_large_huge::lower_muldiv_stmt): Use it. + +2024-02-09 Jakub Jelinek + + PR tree-optimization/113774 + * gimple-lower-bitint.cc (bitint_large_huge::handle_cast): Don't + emit any comparison if m_first and low + 1 is equal to + m_upwards_2limb, simplify condition for that. If not + single_comparison, not m_first and we can prove that the idx <= low + comparison will be always true, emit instead of idx <= low + comparison low <= low such that cfg cleanup will optimize it at + the end of the pass. + 2024-02-08 Aldy Hernandez PR tree-optimization/113735 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 9622c04647db..ab010dc45322 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20240209 +20240210 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 9f8ef7b09d42..1c22e0346f0b 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,31 @@ +2024-02-09 Marek Polacek + + PR c++/113834 + * semantics.cc (finish_type_pack_element): Perform range checking + before tree_to_shwi. + +2024-02-09 Marek Polacek + + PR c++/98388 + * coroutines.cc (coro_rewrite_function_body): Pass tf_warning_or_error + to build_throw. + (morph_fn_to_coro): Likewise. + * cp-tree.h (build_throw): Adjust. + * except.cc (expand_end_catch_block): Pass tf_warning_or_error to + build_throw. + (build_throw): Add a tsubst_flags_t parameter. Use it. Remove + redundant variable. Guard an inform call. + * parser.cc (cp_parser_throw_expression): Pass tf_warning_or_error + to build_throw. + * pt.cc (tsubst_expr) : Pass complain to build_throw. + +2024-02-09 Patrick Palka + + PR c++/112580 + * module.cc (trees_in::read_class_def): When streaming in + an anonymous union field of an as-base class, don't overwrite + ANON_AGGR_TYPE_FIELD. + 2024-02-08 Patrick Palka PR c++/113649 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 22ca08d43827..67f732f7fdb5 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,10 @@ +2024-02-09 Harald Anlauf + + PR fortran/113799 + * arith.cc (reduce_unary): Remember any overflow encountered during + reduction of unary arithmetic operations on array constructors and + continue, and return error status, but terminate on serious errors. + 2024-01-28 Harald Anlauf PR fortran/113377 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9ffdfcb7ef5a..a835393c60a6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,49 @@ +2024-02-09 Marek Polacek + + PR c++/113834 + * g++.dg/ext/type_pack_element4.C: New test. + +2024-02-09 Marek Polacek + + PR c++/98388 + * g++.dg/cpp0x/sfinae69.C: New test. + +2024-02-09 Harald Anlauf + + PR fortran/113799 + * gfortran.dg/arithmetic_overflow_2.f90: New test. + +2024-02-09 Patrick Palka + + PR c++/112580 + * g++.dg/modules/anon-3_a.H: New test. + * g++.dg/modules/anon-3_b.C: New test. + +2024-02-09 Jakub Jelinek + + PR tree-optimization/113783 + * gcc.dg/bitint-88.c: New test. + +2024-02-09 Jakub Jelinek + + PR middle-end/113415 + * gcc.target/i386/pr113415.c: New test. + +2024-02-09 Jakub Jelinek + + PR tree-optimization/113818 + * gcc.dg/bitint-89.c: New test. + +2024-02-09 Jakub Jelinek + + PR tree-optimization/113774 + * gcc.dg/torture/bitint-57.c: New test. + +2024-02-09 Torbjörn SVENSSON + + * gcc.misc-tests/options.exp: Allow other options before the + -quite option for cc1. + 2024-02-08 Edwin Lu * gcc.target/riscv/rvv/base/abi-1.c: change selector diff --git a/libcc1/ChangeLog b/libcc1/ChangeLog index 746e3c48d0cb..f81fe389e711 100644 --- a/libcc1/ChangeLog +++ b/libcc1/ChangeLog @@ -1,3 +1,9 @@ +2024-02-09 Marek Polacek + + PR c++/98388 + * libcp1plugin.cc (plugin_build_unary_expr): Pass tf_error to + build_throw. + 2024-01-09 waffl3x Jason Merrill diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index a2dae8583078..79bf6f3ca8e1 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2024-02-09 Iain Sandoe + + * config/i386/libgcc-darwin.ver: Export bf and bitint-related + synbols. + 2024-02-06 Rainer Orth PR target/113700 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 2dc435e044cb..7b65abaf5f6a 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,12 @@ +2024-02-09 Ken Matsui + + * include/bits/c++config (_GLIBCXX_HAVE_BUILTIN_IS_SAME): + Removed. + * include/std/type_traits (is_same): Use + _GLIBCXX_USE_BUILTIN_TRAIT instead of + _GLIBCXX_HAVE_BUILTIN_IS_SAME. + (is_same_v): Likewise. + 2024-02-08 Jonathan Wakely * include/bits/shared_ptr_atomic.h: Fix typo in comment.