From: GCC Administrator Date: Thu, 4 May 2023 00:19:22 +0000 (+0000) Subject: Daily bump. X-Git-Tag: releases/gcc-10.5.0~102 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c642277ccba36cb411c1e9b2f70a4fbb7916d18d;p=thirdparty%2Fgcc.git Daily bump. --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cb315e901a7c..33ac88accd0b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,324 @@ +2023-05-03 Anthony Sharp + + Backported from master: + 2021-08-27 Anthony Sharp + + * symbol-summary.h: Added missing template keyword. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-04-12 Jakub Jelinek + + PR tree-optimization/109410 + * tree-ssa-reassoc.c (build_and_add_sum): Split edge from entry + block if first statement of the function is a call to returns_twice + function. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-03-28 Jakub Jelinek + + PR middle-end/106190 + * sanopt.c (pass_sanopt::execute): Return TODO_cleanup_cfg if any + of the IFN_{UB,HWA,A}SAN_* internal fns are lowered. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-03-26 Jakub Jelinek + + PR ipa/105685 + * predict.c (compute_function_frequency): Don't call + warn_function_cold if function already has cold attribute. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-03-17 Jakub Jelinek + + PR target/105554 + * function.h (push_struct_function): Add ABSTRACT_P argument defaulted + to false. + * function.c (push_struct_function): Add ABSTRACT_P argument, pass it + to allocate_struct_function instead of false. + * tree-inline.c (initialize_cfun): Don't copy DECL_ARGUMENTS + nor DECL_RESULT here. Pass true as ABSTRACT_P to + push_struct_function. Call targetm.target_option.relayout_function + after it. + (tree_function_versioning): Formatting fix. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-03-17 Jakub Jelinek + + PR middle-end/108685 + * omp-expand.c (expand_omp_for_ordered_loops): Add L0_BB argument, + use its loop_father rather than BODY_BB's loop_father. + (expand_omp_for_generic): Adjust expand_omp_for_ordered_loops caller. + If broken_loop with ordered > collapse and at least one of those + extra loops aren't guaranteed to have at least one iteration, change + l0_bb's loop_father to entry_bb's loop_father. Set cont_bb's + loop_father to l0_bb's loop_father rather than l1_bb's. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-03-04 Jakub Jelinek + + PR testsuite/108973 + * selftest-diagnostic.c + (test_diagnostic_context::test_diagnostic_context): Set + caret_max_width to 80. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-02-24 Jakub Jelinek + + PR middle-end/108854 + * cgraphclones.c (duplicate_thunk_for_node): If no parameter + changes are needed, copy at least DECL_ARGUMENTS PARM_DECL + nodes and adjust their DECL_CONTEXT. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-02-24 Jakub Jelinek + + PR target/108881 + * config/i386/i386-builtin.def (__builtin_ia32_cvtne2ps2bf16_v16hi, + __builtin_ia32_cvtne2ps2bf16_v16hi_mask, + __builtin_ia32_cvtne2ps2bf16_v16hi_maskz, + __builtin_ia32_cvtne2ps2bf16_v8hi, + __builtin_ia32_cvtne2ps2bf16_v8hi_mask, + __builtin_ia32_cvtne2ps2bf16_v8hi_maskz, + __builtin_ia32_cvtneps2bf16_v8sf_mask, + __builtin_ia32_cvtneps2bf16_v8sf_maskz, + __builtin_ia32_cvtneps2bf16_v4sf_mask, + __builtin_ia32_cvtneps2bf16_v4sf_maskz, + __builtin_ia32_dpbf16ps_v8sf, __builtin_ia32_dpbf16ps_v8sf_mask, + __builtin_ia32_dpbf16ps_v8sf_maskz, __builtin_ia32_dpbf16ps_v4sf, + __builtin_ia32_dpbf16ps_v4sf_mask, + __builtin_ia32_dpbf16ps_v4sf_maskz): Require also + OPTION_MASK_ISA_AVX512VL. + +2023-05-03 Andrew Pinski + + Backported from master: + 2023-02-09 Andrew Pinski + + PR tree-optimization/108688 + * match.pd (bit_field_ref [bit_insert]): Avoid generating + BIT_FIELD_REFs of non-mode-precision integral operands. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-02-02 Jakub Jelinek + + PR middle-end/108435 + * tree-nested.c (convert_nonlocal_omp_clauses) + : If info->new_local_var_chain and *seq + is not a GIMPLE_BIND, wrap the sequence into a new GIMPLE_BIND + before calling declare_vars. + (convert_nonlocal_omp_clauses) : Merge + with the OMP_CLAUSE_LASTPRIVATE handling except for whether + seq is initialized to &OMP_CLAUSE_LASTPRIVATE_GIMPLE_SEQ (clause) + or &OMP_CLAUSE_LINEAR_GIMPLE_SEQ (clause). + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-02-01 Jakub Jelinek + + PR debug/108573 + * ree.c (combine_reaching_defs): Don't return false for paradoxical + subregs in DEBUG_INSNs. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-01-31 Jakub Jelinek + + PR rtl-optimization/108596 + * bb-reorder.c (fix_up_fall_thru_edges): Handle the case where cur_bb + ends with asm goto and has a crossing fallthrough edge to the same bb + that contains at least one of its labels by restoring EDGE_CROSSING + flag even on possible edge from cur_bb to new_bb successor. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-01-27 Jakub Jelinek + + PR other/108560 + * doc/extend.texi: Fix up return type of __builtin_va_arg_pack_len + from size_t to int. + +2023-05-03 Eric Biggers + + Backported from master: + 2023-01-24 Eric Biggers + + PR bootstrap/90543 + * optc-save-gen.awk: Fix copy-and-paste error. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-01-04 Jakub Jelinek + + PR middle-end/108237 + * generic-match-head.c: Include tree-pass.h. + (canonicalize_math_p): Define to false if cfun and + cfun->curr_properties has PROP_gimple_opt_math resp. PROP_gimple_lvec + property set. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-12-23 Jakub Jelinek + + PR tree-optimization/108068 + * tree.h (real_maybe_zerop): Declare. + * tree.c (real_maybe_zerop): Define. + * tree-ssa-dom.c (record_edge_info): Use it instead of + real_zerop or TREE_CODE (op1) == SSA_NAME || real_zerop. Always set + can_infer_simple_equiv to false for decimal floating point types. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-12-22 Jakub Jelinek + + PR rtl-optimization/108193 + * cse.c (compute_const_anchors): Change n type to + unsigned HOST_WIDE_INT, adjust comparison against it to avoid + warnings. Formatting fix. + (insert_const_anchor): Use gen_int_mode instead of GEN_INT. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-12-16 Jakub Jelinek + + PR rtl-optimization/106751 + * loop-invariant.c (move_invariant_reg): If preheader bb ends + with a JUMP_INSN, split the preheader edge and emit invariants + into the new preheader basic block. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-12-10 Jakub Jelinek + + PR tree-optimization/107997 + * tree-ssa-loop-ivopts.c: 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. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-12-08 Jakub Jelinek + + PR debug/106719 + * cfgbuild.c (find_bb_boundaries): If there are NOTEs in between + debug_insn (seen after flow_transfer_insn) and insn, move NOTEs + before all the DEBUG_INSNs and split after NOTEs. If there are + other insns like jump table data, clear debug_insn. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-11-24 Jakub Jelinek + + PR middle-end/107317 + * asan.c: Include diagnostic-core.h. + (asan_emit_stack_protection): Return NULL early if seen_error (). + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-11-21 Jakub Jelinek + + PR target/107748 + * config/i386/smmintrin.h (_mm_extract_ps): Uglify names of local + variables and union members. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-11-20 Jakub Jelinek + + PR target/107183 + * reg-stack.c (next_flags_user): Add DEBUG_SEEN argument. + If >= 0 and a DEBUG_INSN would be otherwise returned, set + DEBUG_SEEN to 1 and ignore it. + (swap_rtx_condition): Add DEBUG_SEEN argument. In >= 0 + mode only set DEBUG_SEEN to 1 if problematic DEBUG_ISNSs + were seen and revert all changes on success in that case. + Don't try to recog_memoized DEBUG_INSNs. + (compare_for_stack_reg): Adjust swap_rtx_condition caller. + If it returns true and debug_seen is 1, call swap_rtx_condition + again with debug_seen -1. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-09-24 Jakub Jelinek + + PR c/107001 + * omp-low.c (lower_omp_taskgroup): Don't add GOMP_RETURN statement + at the end. + * omp-expand.c (build_omp_regions_1): Clarify GF_OMP_TARGET_KIND_DATA + is not stand-alone directive. For GIMPLE_OMP_TASKGROUP, also don't + update parent. + (omp_make_gimple_edges) : Reset + cur_region back after new_omp_region. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-07-27 Jakub Jelinek + + PR debug/106261 + * cgraphunit.c (cgraph_node::assemble_thunks_and_aliases): Don't + output asm thunks for -dx. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-07-01 Jakub Jelinek + + PR middle-end/106144 + * wide-int.cc (wi::shifted_mask): If end >= prec, return right after + emitting element for shift or if shift is 0 first element after start. + (wide_int_cc_tests): Add tests for equivalency of wi::mask and + wi::shifted_mask with 0 start. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-06-21 Jakub Jelinek + + PR rtl-optimization/106032 + * ifcvt.c (noce_try_sign_mask): Punt if !t_unconditional, and + t may_trap_or_fault_p, even if it is cheap. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-06-21 Jakub Jelinek + + PR middle-end/106030 + * expr.c (expand_cond_expr_using_cmove): Pass NULL_RTX instead of + temp to expand_operands if mode has been promoted. + 2023-04-18 Philipp Tomsich Backported from master: diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 61f8aade98f0..2e0cd4ba7e15 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20230503 +20230504 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index a419e0486fd3..66bece3b08ec 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,36 @@ +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-03-17 Jakub Jelinek + + PR c/109151 + * c-ubsan.c (ubsan_instrument_division): Handle all scalar integral + types rather than just INTEGER_TYPE. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-03-04 Jakub Jelinek + + PR c/107465 + * c-warn.c (warn_for_sign_compare): Don't warn for unset bits + above innermost zero extension of BIT_NOT_EXPR result. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-03-04 Jakub Jelinek + + PR c/107465 + * c-warn.c (warn_for_sign_compare): If c_common_get_narrower + doesn't return a narrower result, use TYPE_UNSIGNED to set unsignedp0 + and unsignedp1. For the one BIT_NOT_EXPR case vs. one without, + only check for constant in the non-BIT_NOT_EXPR operand, use std::swap + to simplify the code, only warn if BIT_NOT_EXPR operand is extended + from narrower unsigned, fix up computation of mask for the constant + cases and for unsigned other operand case handle differently + BIT_NOT_EXPR result being sign vs. zero extended. + 2023-04-21 Jason Merrill PR c++/107163 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 61ad810c12eb..b4367dd4769a 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,22 @@ +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-10-24 Jakub Jelinek + + PR c++/107358 + * c-typeck.c (build_binary_op): Pass operands before excess precision + promotions to scalar_to_vector call. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-09-24 Jakub Jelinek + + PR c/106981 + * c-typeck.c (c_tree_equal): Only strip NON_LVALUE_EXPRs at the + start. For CONSTANT_CLASS_P or CASE_CONVERT: return false if t1 and + t2 have different types. + 2022-08-02 Lewis Hyatt Backported from master: diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index bbb71668e1fa..a8d4a726e559 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,123 @@ +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-03-20 Jakub Jelinek + + PR c++/109164 + * cp-tree.h (var_needs_tls_wrapper): Declare. + * decl2.c (var_needs_tls_wrapper): No longer static. + * decl.c (cp_finish_decl): Clear TREE_READONLY on TLS variables + for which a TLS wrapper will be needed. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-03-14 Jakub Jelinek + + PR c++/109096 + * tree.c (record_has_unique_obj_representations): Ignore unnamed + bitfields. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-03-10 Jakub Jelinek + + PR c++/107558 + * decl.c (cp_finish_decl): Don't clear TREE_READONLY on + automatic non-aggregate variables just because of + -fmerge-all-constants. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-03-02 Jakub Jelinek + + PR debug/108716 + * cp-gimplify.c (cp_genericize_r) : Set + DECL_SOURCE_LOCATION on IMPORTED_DECL to expression location + of USING_STMT or input_location. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-01-24 Jakub Jelinek + + PR c++/108474 + * cp-gimplify.c (cp_fold_r): Handle structured bindings + vars like anon union artificial vars. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-01-14 Jakub Jelinek + + PR c++/108365 + * typeck.c (cp_build_binary_op): For integral division or modulo, + shorten if type0 is unsigned, or op0 is cast from narrower unsigned + integral type or stripped_op1 is INTEGER_CST other than -1. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-02-01 Jakub Jelinek + + PR c++/108607 + * constexpr.c (cxx_eval_constant_expression): Handle OMP_* + and OACC_* constructs as non-constant. + (potential_constant_expression_1): Handle OMP_SCAN. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-01-19 Jakub Jelinek + + PR c++/53932 + * cp-gimplify.c (cp_fold_r): During cp_fully_fold_init replace + DECL_ANON_UNION_VAR_P VAR_DECLs with their corresponding + DECL_VALUE_EXPR. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-12-21 Jakub Jelinek + + PR c++/108180 + * pt.c (tsubst_expr): Don't call cp_finish_decl on + DECL_OMP_PRIVATIZED_MEMBER vars. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-12-15 Jakub Jelinek + + PR c++/107065 + * typeck.c (cp_build_unary_op) : If + invert_truthvalue_loc returns obvalue_p, wrap it into NON_LVALUE_EXPR. + * parser.c (cp_parser_binary_expression): Don't call + warn_logical_not_parentheses if current.lhs is a NON_LVALUE_EXPR + of a decl with boolean type. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-10-24 Jakub Jelinek + + PR c++/105774 + * constexpr.c (cxx_eval_increment_expression): For signed types + that promote to int, evaluate PLUS_EXPR or MINUS_EXPR in int type. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-08-16 Jakub Jelinek + + * typeck.c (cp_build_modify_expr): Implement + P2327R1 - De-deprecating volatile compound operations. Don't warn + for |=, &= or ^= with volatile lhs. + * expr.c (mark_use) : Adjust warning wording, + leave out simple. + 2023-04-21 Jason Merrill PR c++/105996 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 6714c3a9906c..4d79f1d4eb49 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,21 @@ +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-02-03 Jakub Jelinek + + PR fortran/108451 + * trans-decl.c (gfc_trans_use_stmts): Call clear_slot before + doing continue. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-01-11 Jakub Jelinek + + PR fortran/108349 + * f95-lang.c (gfc_init_builtin_function): Fix up function types + for BUILT_IN_REALLOC and BUILT_IN_SINCOS{F,,L}. Formatting fixes. + 2023-04-16 Harald Anlauf Backported from master: diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6fe83cf831a7..df4a53ebf055 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,341 @@ +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-04-12 Jakub Jelinek + + PR tree-optimization/109410 + * gcc.dg/pr109410.c: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-03-28 Jakub Jelinek + + PR middle-end/106190 + * gcc.dg/asan/pr106190.c: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-03-26 Jakub Jelinek + + PR ipa/105685 + * c-c++-common/cold-2.c: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-03-20 Jakub Jelinek + + PR c++/109164 + * g++.dg/tls/thread_local13.C: New test. + * g++.dg/tls/thread_local13-aux.cc: New file. + * g++.dg/tls/thread_local14.C: New test. + * g++.dg/tls/thread_local14-aux.cc: New file. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-03-17 Jakub Jelinek + + PR target/105554 + * gcc.target/i386/pr105554.c: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-03-17 Jakub Jelinek + + PR c/109151 + * c-c++-common/ubsan/div-by-zero-8.c: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-03-17 Jakub Jelinek + + PR middle-end/108685 + * c-c++-common/gomp/doacross-8.c: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-03-14 Jakub Jelinek + + PR c++/109096 + * g++.dg/cpp1z/has-unique-obj-representations3.C: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-03-10 Jakub Jelinek + + PR c++/107558 + * g++.dg/gomp/pr107558.C: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-03-04 Jakub Jelinek + + PR c/107465 + * c-c++-common/Wsign-compare-2.c (f18): New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-03-04 Jakub Jelinek + + PR c/107465 + * c-c++-common/Wsign-compare-2.c: New test. + * c-c++-common/pr107465.c: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-03-02 Jakub Jelinek + + PR debug/108716 + * g++.dg/debug/dwarf2/pr108716.C: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-02-24 Jakub Jelinek + + PR middle-end/108854 + * g++.dg/opt/pr108854.C: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-02-24 Jakub Jelinek + + PR target/108881 + * gcc.target/i386/avx512bf16-pr108881.c: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-01-24 Jakub Jelinek + + PR c++/108474 + * g++.dg/cpp1z/decomp57.C: New test. + * g++.dg/cpp1z/decomp58.C: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-01-14 Jakub Jelinek + + PR c++/108365 + * g++.dg/opt/pr108365.C: New test. + * g++.dg/warn/pr108365.C: New test. + +2023-05-03 Andrew Pinski + + Backported from master: + 2023-02-09 Andrew Pinski + + PR tree-optimization/108688 + * gcc.c-torture/compile/pr108688-1.c: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-02-02 Jakub Jelinek + + PR middle-end/108435 + * gcc.dg/gomp/pr108435.c: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-02-01 Jakub Jelinek + + PR debug/108573 + * gcc.dg/pr108573.c: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-02-01 Jakub Jelinek + + PR c++/108607 + * g++.dg/gomp/pr108607.C: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-01-31 Jakub Jelinek + + PR rtl-optimization/108596 + * gcc.c-torture/compile/pr108596.c: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-01-19 Jakub Jelinek + + PR c++/53932 + * g++.dg/init/pr53932.C: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-01-04 Jakub Jelinek + + PR middle-end/108237 + * gcc.c-torture/compile/pr108237.c: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-12-23 Jakub Jelinek + + PR tree-optimization/108068 + * gcc.dg/dfp/pr108068.c: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-12-22 Jakub Jelinek + + PR rtl-optimization/108193 + * gfortran.dg/pr108193.f90: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-12-19 Jakub Jelinek + + PR testsuite/108151 + * gcc.dg/pr64536.c (bar): Cast long to __INTPTR_TYPE__ + before casting to long *. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-12-19 Jakub Jelinek + + PR testsuite/108151 + * gcc.dg/pr64536.c (bar): Use casts to __INTPTR_TYPE__ rather than + long when casting pointer to integral type. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-12-16 Jakub Jelinek + + PR rtl-optimization/106751 + * gcc.c-torture/compile/pr106751.c: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-12-15 Jakub Jelinek + + PR c++/107065 + * g++.dg/cpp0x/pr107065.C: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-12-10 Jakub Jelinek + + PR tree-optimization/107997 + * gcc.c-torture/compile/pr107997.c: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-12-08 Jakub Jelinek + + PR debug/106719 + * gcc.dg/pr106719.c: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-11-24 Jakub Jelinek + + PR middle-end/107317 + * gcc.dg/asan/pr107317.c: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-11-20 Jakub Jelinek + + PR target/107183 + * gcc.dg/ubsan/pr107183.c: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-10-24 Jakub Jelinek + + PR c++/107358 + * c-c++-common/pr107358.c: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-10-24 Jakub Jelinek + + PR c++/105774 + * g++.dg/cpp1y/constexpr-105774.C: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-09-24 Jakub Jelinek + + PR c/107001 + * c-c++-common/gomp/pr107001.c: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-09-24 Jakub Jelinek + + PR c/106981 + * c-c++-common/gomp/pr106981.c: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-08-16 Jakub Jelinek + + * g++.dg/cpp2a/volatile1.C: Adjust for de-deprecation of volatile + compound |=, &= and ^= operations. + * g++.dg/cpp2a/volatile3.C: Likewise. + * g++.dg/cpp2a/volatile5.C: Likewise. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-07-27 Jakub Jelinek + + PR debug/106261 + * g++.dg/debug/pr106261.C: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-06-21 Jakub Jelinek + + PR rtl-optimization/106032 + * gcc.c-torture/execute/pr106032.c: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-06-21 Jakub Jelinek + + PR middle-end/106030 + * gcc.c-torture/compile/pr106030.c: New test. + 2023-04-25 Jason Merrill PR testsuite/109608 diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index fa16074a85e3..3737ea93681f 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,13 @@ +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-02-09 Jakub Jelinek + + PR target/100758 + * config/i386/cpuinfo.c (cpu_indicator_init): Call + get_available_features for all CPUs with max_level >= 1, rather + than just Intel or AMD. + 2023-02-20 Nelson Chu Backported from master: diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index aac1d805a49d..3b392e3a630a 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,48 @@ +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-02-16 Jakub Jelinek + + * libgomp.texi: Fix typos - theads -> threads. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-12-21 Jakub Jelinek + + PR c++/108180 + * testsuite/libgomp.c++/pr108180.C: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-10-12 Jakub Jelinek + + * task.c (gomp_create_artificial_team): Fix up handling of invocations + from within explicit task. + * target.c (GOMP_target_ext): Likewise. + * testsuite/libgomp.c/task-7.c: New test. + * testsuite/libgomp.c/task-8.c: New test. + * testsuite/libgomp.c-c++-common/task-reduction-17.c: New test. + * testsuite/libgomp.c-c++-common/task-reduction-18.c: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-09-24 Jakub Jelinek + + PR c/106981 + * testsuite/libgomp.c-c++-common/pr106981.c: New test. + +2023-05-03 Jakub Jelinek + + Backported from master: + 2022-06-21 Jakub Jelinek + Paul Iannetta + + PR libgomp/106045 + * testsuite/libgomp.c/target-31.c: Add private (i) clause. + 2022-06-28 Release Manager * GCC 10.4.0 released. diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 3801e0186dd0..844cbcae96a1 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,11 @@ +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-04-02 Jakub Jelinek + + PR other/109306 + * strstr.c (strstr): Return s1 if len is 0. + 2022-06-28 Release Manager * GCC 10.4.0 released. diff --git a/libquadmath/ChangeLog b/libquadmath/ChangeLog index 65cd67bcb050..02050e3449ad 100644 --- a/libquadmath/ChangeLog +++ b/libquadmath/ChangeLog @@ -1,3 +1,18 @@ +2023-05-03 Jakub Jelinek + + Backported from master: + 2023-03-02 niXman + Jakub Jelinek + + PR libquadmath/87204 + PR libquadmath/94756 + * strtod/strtod_l.c (round_and_return): Cherry-pick glibc + 9310c284ae9 BZ #16151, 4406c41c1d6 BZ #16965 and fcd6b5ac36a + BZ #23279 fixes. + (____STRTOF_INTERNAL): Cherry-pick glibc b0debe14fcf BZ #23007, + 5556d30caee BZ #18247, 09555b9721d and c6aac3bf366 BZ #26137 and + d84f25c7d87 fixes. + 2022-06-28 Release Manager * GCC 10.4.0 released. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index edb950078264..a3cef8f3031b 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,39 @@ +2023-05-03 Jonathan Wakely + + PR libstdc++/105844 + * include/std/numeric (lcm): Ensure out-of-range result is + detected in constant evaluation. + * testsuite/26_numerics/lcm/105844.cc: Adjust dg-error string. + +2023-05-03 Jonathan Wakely + + Backported from master: + 2022-06-10 Jonathan Wakely + + PR libstdc++/105844 + * include/experimental/numeric (experimental::gcd): Simplify + assertions. Use __abs_r instead of __absu. + (experimental::lcm): Likewise. Remove use of __detail::__lcm so + overflow can be detected. + * include/std/numeric (__detail::__absu): Rename to __abs_r and + change to allow signed result type, so overflow can be detected. + (__detail::__lcm): Remove. + (gcd): Simplify assertions. Use __abs_r instead of __absu. + (lcm): Likewise. Remove use of __detail::__lcm so overflow can + be detected. + * testsuite/26_numerics/gcd/gcd_neg.cc: Adjust dg-error lines. + * testsuite/26_numerics/lcm/lcm_neg.cc: Likewise. + * testsuite/26_numerics/gcd/105844.cc: New test. + * testsuite/26_numerics/lcm/105844.cc: New test. + +2023-05-03 Jonathan Wakely + + Backported from master: + 2023-04-28 Jonathan Wakely + + * doc/doxygen/user.cfg.in (STRIP_FROM_PATH): Remove prefixes + from header paths. + 2023-04-28 Jonathan Wakely Backported from master: