+2025-04-24 Jakub Jelinek <jakub@redhat.com>
+ Stefan Schulze Frielinghaus <stefansf@gcc.gnu.org>
+
+ PR target/119873
+ * config/s390/s390.cc (s390_call_saved_register_used): Don't return
+ true if default definition of PARM_DECL SSA_NAME of the same register
+ is passed in call saved register.
+ (s390_function_ok_for_sibcall): Adjust comment.
+
+2025-04-24 Jan Hubicka <hubicka@ucw.cz>
+
+ PR target/119919
+ * config/i386/i386.cc (ix86_vector_costs::add_stmt_cost): Account
+ correctly cond_expr and min/max when one of operands is 0 or -1.
+
+2025-04-24 Jan Hubicka <hubicka@ucw.cz>
+
+ PR ipa/119924
+ * ipa-cp.cc (update_counts_for_self_gen_clones): Use nonzero_p.
+ (update_profiling_info): Likewise.
+ (update_specialized_profile): Likewise.
+
+2025-04-24 Richard Sandiford <richard.sandiford@arm.com>
+
+ PR target/119610
+ * config/aarch64/aarch64.cc (aarch64_allocate_and_probe_stack_space):
+ Add a bytes_below_sp parameter and use it to calculate the CFA
+ offsets. Attach the first SVE CFA note to the move into the
+ associated temporary register.
+ (aarch64_allocate_and_probe_stack_space): Update calls accordingly.
+ Start out with bytes_per_sp set to the frame size and decrement
+ it after each allocation.
+
+2025-04-24 Kyrylo Tkachov <ktkachov@nvidia.com>
+
+ * opts.cc (validate_ipa_reorder_locality_lto_partition): Check opts
+ instead of opts_set for x_flag_ipa_reorder_for_locality.
+ (finish_options): Update call site.
+
+2025-04-24 Kyrylo Tkachov <ktkachov@nvidia.com>
+
+ * common.opt (LTO_PARTITION_DEFAULT): Delete.
+ (flto-partition=): Change default back to balanced.
+ * flag-types.h (lto_partition_model): Remove LTO_PARTITION_DEFAULT.
+ * opts.cc (validate_ipa_reorder_locality_lto_partition):
+ Check opts_set->x_flag_lto_partition instead of LTO_PARTITION_DEFAULT.
+ (finish_options): Remove handling of LTO_PARTITION_DEFAULT.
+
+2025-04-24 Jakub Jelinek <jakub@redhat.com>
+
+ PR debug/119711
+ * dwarf2out.h (struct dw_val_node): Add u member.
+ (struct dw_loc_descr_node): Remove dw_loc_opc, dtprel,
+ frame_offset_rel and dw_loc_addr members.
+ (dw_loc_opc, dw_loc_dtprel, dw_loc_frame_offset_rel, dw_loc_addr):
+ Define.
+ (struct dw_attr_struct): Remove dw_attr member.
+ (dw_attr): Define.
+ * dwarf2out.cc (loc_descr_equal_p_1): Use dw_loc_dtprel instead of
+ dtprel.
+ (output_loc_operands, new_addr_loc_descr, loc_checksum,
+ loc_checksum_ordered): Likewise.
+ (resolve_args_picking_1): Use dw_loc_frame_offset_rel instead of
+ frame_offset_rel.
+ (loc_list_from_tree_1): Likewise.
+ (resolve_addr_in_expr): Use dw_loc_dtprel instead of dtprel.
+ (copy_deref_exprloc): Copy val_class, val_entry and v members
+ instead of whole dw_loc_oprnd1 and dw_loc_oprnd2.
+ (optimize_string_length): Copy val_class, val_entry and v members
+ instead of whole dw_attr_val.
+ (hash_loc_operands): Use dw_loc_dtprel instead of dtprel.
+ (compare_loc_operands, compare_locs): Likewise.
+
+2025-04-24 liuhongt <hongtao.liu@intel.com>
+
+ PR target/103750
+ * config/i386/sse.md (*<avx512>_cmp<mode>3_and15): New define_insn.
+ (*<avx512>_ucmp<mode>3_and15): Ditto.
+ (*<avx512>_cmp<mode>3_and3): Ditto.
+ (*avx512vl_ucmpv2di3_and3): Ditto.
+ (*<avx512>_cmp<V48H_AVX512VL:mode>3_zero_extend<SWI248x:mode>):
+ Change operands[3] predicate to <cmp_imm_predicate>.
+ (*<avx512>_cmp<V48H_AVX512VL:mode>3_zero_extend<SWI248x:mode>_2):
+ Ditto.
+ (*<avx512>_cmp<mode>3): Add GET_MODE_NUNITS (<MODE>mode) >= 8
+ to the condition.
+ (*<avx512>_ucmp<mode>3): Ditto.
+ (V48_AVX512VL_4): New mode iterator.
+ (VI48_AVX512VL_4): Ditto.
+ (V8_AVX512VL_2): Ditto.
+
+2025-04-23 Jan Hubicka <hubicka@ucw.cz>
+
+ * ipa-cp.cc (base_count): Remove.
+ (struct caller_statistics): Rename n_hot_calls to n_interesting_calls;
+ add called_without_ipa_profile.
+ (init_caller_stats): Update.
+ (cs_interesting_for_ipcp_p): New function.
+ (gather_caller_stats): collect n_interesting_calls and
+ called_without_profile.
+ (ipcp_cloning_candidate_p): Use n_interesting-calls rather then hot.
+ (good_cloning_opportunity_p): Rewrite heuristics when IPA profile is
+ present
+ (estimate_local_effects): Update.
+ (value_topo_info::propagate_effects): Update.
+ (compare_edge_profile_counts): Remove.
+ (ipcp_propagate_stage): Do not collect base_count.
+ (get_info_about_necessary_edges): Record whether function is called
+ without profile.
+ (decide_about_value): Update.
+ (ipa_cp_cc_finalize): Do not initialie base_count.
+ * profile-count.cc (profile_count::operator*): New.
+ (profile_count::operator*=): New.
+ * profile-count.h (profile_count::operator*): Declare
+ (profile_count::operator*=): Declare.
+ * params.opt: Remove ipa-cp-profile-count-base.
+ * doc/invoke.texi: Likewise.
+
+2025-04-23 Jan Hubicka <hubicka@ucw.cz>
+
+ * config/i386/i386.cc (ix86_vector_costs::add_stmt_cost): Cost truth_value
+ exprs.
+
+2025-04-23 liuhongt <hongtao.liu@intel.com>
+
+ * config/i386/predicates.md (vector_or_0_or_1s_operand): New predicate.
+ (nonimm_or_0_or_1s_operand): Ditto.
+ * config/i386/sse.md (vcond_mask_<mode><sseintvecmodelower>):
+ Extend the predicate of operands1 to accept 0 or allones
+ operands.
+ (vcond_mask_<mode><sseintvecmodelower>): Ditto.
+ (vcond_mask_v1tiv1ti): Ditto.
+ (vcond_mask_<mode><sseintvecmodelower>): Ditto.
+ * config/i386/i386.md (mov<mode>cc): Ditto for operands[2] and
+ operands[3].
+ * config/i386/i386-expand.cc (ix86_expand_sse_fp_minmax):
+ Force immediate_operand to register.
+
2025-04-22 Jan Hubicka <hubicka@ucw.cz>
* config/i386/i386.cc (ix86_vector_costs::add_stmt_cost): Add special cases
+2025-04-24 Robert Dubner <rdubner@symas.com>
+
+ * genapi.cc: (initialize_variable_internal): Change TRACE1 formatting.
+ (create_and_call): Repair RETURN-CODE processing.
+ (mh_source_is_group): Repair run-time IF type comparison.
+ (psa_FldLiteralA): Change TRACE1 formatting.
+ (parser_symbol_add): Eliminate unnecessary code.
+ * genutil.cc: Eliminate SET_EXCEPTION_CODE macro.
+ (get_data_offset_dest): Repair set_exception_code logic.
+ (get_data_offset_source): Likewise.
+ (get_binary_value): Likewise.
+ (refer_refmod_length): Likewise.
+ (refer_fill_depends): Likewise.
+ (refer_offset_dest): Likewise.
+ (refer_size_dest): Likewise.
+ (refer_offset_source): Likewise.
+
2025-04-16 Bob Dubner <rdubner@symas.com>
PR cobol/119759
+2025-04-24 Jason Merrill <jason@redhat.com>
+
+ PR c++/116954
+ * contracts.cc (remove_contract_attributes): Return early if
+ not enabled.
+
2025-04-22 Nathaniel Shead <nathanieloshead@gmail.com>
* name-lookup.cc (lookup_imported_hidden_friend): Remove
+2025-04-23 Andre Vehreschild <vehre@gcc.gnu.org>
+
+ PR fortran/119200
+ * check.cc (gfc_check_lcobound): Use locus from intrinsic_where.
+ (gfc_check_image_index): Same.
+ (gfc_check_num_images): Same.
+ (gfc_check_team_number): Same.
+ (gfc_check_this_image): Same.
+ (gfc_check_ucobound): Same.
+
2025-04-22 Andre Vehreschild <vehre@gcc.gnu.org>
* match.cc (match_exit_cycle): Allow to exit team block.
+2025-04-24 Gaius Mulley <gaiusmod2@gmail.com>
+
+ PR modula2/119915
+ * gm2-libs/FormatStrings.mod (PerformFormatString): Handle
+ the %u and %x format specifiers in a similar way to the %d
+ specifier. Avoid using Slice and use Copy instead.
+
+2025-04-24 Gaius Mulley <gaiusmod2@gmail.com>
+
+ PR modula2/119914
+ * gm2-compiler/M2Check.mod (checkConstMeta): Add check for
+ Ztype, Rtype and Ctype and unbounded arrays.
+ (IsZRCType): New procedure function.
+ (isZRC): Add comment.
+ * gm2-compiler/M2Quads.mod:
+ * gm2-compiler/M2Range.mod (gdbinit): New procedure.
+ (BreakWhenRangeCreated): Ditto.
+ (CheckBreak): Ditto.
+ (InitRange): Call CheckBreak.
+ (Init): Add gdbhook and initialize interactive watch point.
+ * gm2-compiler/SymbolTable.def (GetNthParamAnyClosest): New
+ procedure function.
+ * gm2-compiler/SymbolTable.mod (BreakSym): Remove constant.
+ (BreakSym): Add Variable.
+ (stop): Remove.
+ (gdbhook): New procedure.
+ (BreakWhenSymCreated): Ditto.
+ (CheckBreak): Ditto.
+ (NewSym): Call CheckBreak.
+ (Init): Add gdbhook and initialize interactive watch point.
+ (MakeProcedure): Replace guarded call to stop with CheckBreak.
+ (GetNthParamChoice): New procedure function.
+ (GetNthParamOrdered): Ditto.
+ (GetNthParamAnyClosest): Ditto.
+ (GetOuterModuleScope): Ditto.
+
2025-04-11 Gaius Mulley <gaiusmod2@gmail.com>
PR modula2/119735
+2025-04-23 Joseph Myers <josmyers@redhat.com>
+
+ * gcc.pot: Regenerate.
+
+2025-04-23 Joseph Myers <josmyers@redhat.com>
+
+ * sv.po: Update.
+
2025-04-09 Joseph Myers <josmyers@redhat.com>
* de.po: Update.
+2025-04-24 Jakub Jelinek <jakub@redhat.com>
+ Stefan Schulze Frielinghaus <stefansf@gcc.gnu.org>
+
+ PR target/119873
+ * gcc.target/s390/pr119873-1.c: New test.
+ * gcc.target/s390/pr119873-2.c: New test.
+ * gcc.target/s390/pr119873-3.c: New test.
+ * gcc.target/s390/pr119873-4.c: New test.
+
+2025-04-24 Robert Dubner <rdubner@symas.com>
+
+ * cobol.dg/group1/declarative_1.cob: Adjust for repaired exception logic.
+
+2025-04-24 Jan Hubicka <hubicka@ucw.cz>
+
+ * gcc.target/i386/pr119919.c: New test.
+
+2025-04-24 Richard Sandiford <richard.sandiford@arm.com>
+
+ PR target/119610
+ * g++.dg/torture/pr119610.C: New test.
+ * g++.target/aarch64/sve/pr119610-sve.C: Likewise.
+
+2025-04-24 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/110343
+ * gcc.dg/raw-string-1.c: New test.
+
+2025-04-24 Kyrylo Tkachov <ktkachov@nvidia.com>
+
+ * gcc.dg/completion-2.c: Remove check for default.
+
+2025-04-24 Gaius Mulley <gaiusmod2@gmail.com>
+
+ PR modula2/119915
+ * gm2/pimlib/run/pass/format2.mod: New test.
+
+2025-04-24 liuhongt <hongtao.liu@intel.com>
+
+ * gcc.target/i386/avx512vl-pr103750-1.c: New test.
+ * gcc.target/i386/avx512f-pr96891-3.c: Adjust testcase.
+ * gcc.target/i386/avx512f-vpcmpgtuq-1.c: Ditto.
+ * gcc.target/i386/avx512vl-vpcmpeqq-1.c: Ditto.
+ * gcc.target/i386/avx512vl-vpcmpequq-1.c: Ditto.
+ * gcc.target/i386/avx512vl-vpcmpgeq-1.c: Ditto.
+ * gcc.target/i386/avx512vl-vpcmpgeuq-1.c: Ditto.
+ * gcc.target/i386/avx512vl-vpcmpgtq-1.c: Ditto.
+ * gcc.target/i386/avx512vl-vpcmpgtuq-1.c: Ditto.
+ * gcc.target/i386/avx512vl-vpcmpleq-1.c: Ditto.
+ * gcc.target/i386/avx512vl-vpcmpleuq-1.c: Ditto.
+ * gcc.target/i386/avx512vl-vpcmpltq-1.c: Ditto.
+ * gcc.target/i386/avx512vl-vpcmpltuq-1.c: Ditto.
+ * gcc.target/i386/avx512vl-vpcmpneqq-1.c: Ditto.
+ * gcc.target/i386/avx512vl-vpcmpnequq-1.c: Ditto.
+
+2025-04-24 Gaius Mulley <gaiusmod2@gmail.com>
+
+ PR modula2/119914
+ * gm2/pim/fail/constintarraybyte.mod: New test.
+
+2025-04-23 Dimitar Dimitrov <dimitar@dinux.eu>
+
+ * g++.dg/no-stack-protector-attr-3.C: Require effective target
+ fstack_protector.
+
+2025-04-23 Jan Hubicka <hubicka@ucw.cz>
+
+ * gcc.dg/ipa/ipa-clone-4.c: New file.
+ * gcc.dg/tree-prof/ipa-cp-1.c: New file.
+
+2025-04-23 Christophe Lyon <christophe.lyon@linaro.org>
+
+ PR target/71233
+ * gcc.target/aarch64/advsimd-intrinsics/vld1x2.c: Enable on arm.
+ * gcc.target/aarch64/advsimd-intrinsics/vld1x3.c: Likewise.
+ * gcc.target/aarch64/advsimd-intrinsics/vld1x4.c: Likewise.
+ * gcc.target/aarch64/advsimd-intrinsics/vst1x2.c: Likewise.
+ * gcc.target/aarch64/advsimd-intrinsics/vst1x3.c: Likewise.
+ * gcc.target/aarch64/advsimd-intrinsics/vst1x4.c: Likewise.
+
+2025-04-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * g++.dg/eh/pr119507.C: Skip on sparc*-*-solaris2* && !gas.
+
+2025-04-23 Tamar Christina <tamar.christina@arm.com>
+
+ PR target/119286
+ * gcc.dg/vect/vect-early-break_38.c: Force -march=gfx908 for amdgcn.
+
+2025-04-23 liuhongt <hongtao.liu@intel.com>
+
+ * gcc.target/i386/blendv-to-maxmin.c: New test.
+ * gcc.target/i386/blendv-to-pand.c: New test.
+
2025-04-22 Jan Hubicka <hubicka@ucw.cz>
* gcc.target/i386/pr89618-2.c: XFAIL.
+2025-04-24 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/110343
+ * lex.cc (lex_raw_string): For C allow $@` in raw string delimiters
+ if CPP_OPTION (pfile, low_ucns) i.e. for C23 and later.
+
2025-04-09 Jakub Jelinek <jakub@redhat.com>
PR preprocessor/118674
+2025-04-24 Gaius Mulley <gaiusmod2@gmail.com>
+
+ PR modula2/115276
+ * config.h.in: Regenerate.
+ * configure: Regenerate.
+ * configure.ac (AC_STRUCT_TIMEZONE): Add.
+ (AC_CHECK_MEMBER): Test for struct tm.tm_year.
+ (AC_CHECK_MEMBER): Test for struct tm.tm_mon.
+ (AC_CHECK_MEMBER): Test for struct tm.tm_mday.
+ (AC_CHECK_MEMBER): Test for struct tm.tm_hour.
+ (AC_CHECK_MEMBER): Test for struct tm.tm_min.
+ (AC_CHECK_MEMBER): Test for struct tm.tm_sec.
+ (AC_CHECK_MEMBER): Test for struct tm.tm_year.
+ (AC_CHECK_MEMBER): Test for struct tm.tm_yday.
+ (AC_CHECK_MEMBER): Test for struct tm.tm_wday.
+ (AC_CHECK_MEMBER): Test for struct tm.tm_isdst.
+ (AC_CHECK_MEMBER): Test for struct timeval.tv_sec.
+ (AC_CHECK_MEMBER): Test for struct timeval.tv_sec.
+ (AC_CHECK_MEMBER): Test for struct timeval.tv_usec.
+ * libm2iso/wraptime.cc (InitTimeval): Guard against lack
+ struct timeval and malloc.
+ (InitTimezone): Guard against lack of struct tm.tm_zone
+ and malloc.
+ (KillTimezone): Ditto.
+ (InitTimeval): Guard against lack of struct timeval
+ and malloc.
+ (KillTimeval): Guard against lack of malloc.
+ (settimeofday): Guard against lack of struct tm.tm_zone.
+ (GetFractions): Guard against lack of struct timeval.
+ (localtime_r): Ditto.
+ (GetYear): Guard against lack of struct tm.
+ (GetMonth): Ditto.
+ (GetDay): Ditto.
+ (GetHour): Ditto.
+ (GetMinute): Ditto.
+ (GetSecond): Ditto.
+ (GetSummerTime): Ditto.
+ (GetDST): Guards against lack of struct timezone.
+ (SetTimezone): Ditto.
+ (SetTimeval): Guard against lack of struct tm.
+
2025-03-28 Gaius Mulley <gaiusmod2@gmail.com>
PR modula2/118045
+2025-04-24 Tobias Burnus <tburnus@baylibre.com>
+
+ * testsuite/lib/libgomp.exp
+ (check_effective_target_gomp_hip_header_nvidia): Compile with
+ "-Wno-deprecated-declarations".
+ * testsuite/libgomp.c/interop-hip-nvidia-full.c: Likewise.
+ * testsuite/libgomp.c/interop-hipblas-nvidia-full.c: Likewise.
+ * testsuite/libgomp.c/interop-hipblas.h: Add workarounds
+ when using the HIP headers with __HIP_PLATFORM_NVIDIA__.
+
+2025-04-24 Tobias Burnus <tburnus@baylibre.com>
+
+ * testsuite/lib/libgomp.exp (check_effective_target_openacc_cublas,
+ check_effective_target_openacc_cudart): Update description as
+ the check requires more.
+ (check_effective_target_openacc_libcuda,
+ check_effective_target_openacc_libcublas,
+ check_effective_target_openacc_libcudart,
+ check_effective_target_gomp_hip_header_amd,
+ check_effective_target_gomp_hip_header_nvidia,
+ check_effective_target_gomp_hipfort_module,
+ check_effective_target_gomp_libamdhip64,
+ check_effective_target_gomp_libhipblas): New.
+ * testsuite/libgomp.c-c++-common/interop-2.c: New test.
+ * testsuite/libgomp.c/interop-cublas-full.c: New test.
+ * testsuite/libgomp.c/interop-cublas-libonly.c: New test.
+ * testsuite/libgomp.c/interop-cuda-full.c: New test.
+ * testsuite/libgomp.c/interop-cuda-libonly.c: New test.
+ * testsuite/libgomp.c/interop-hip-amd-full.c: New test.
+ * testsuite/libgomp.c/interop-hip-amd-no-hip-header.c: New test.
+ * testsuite/libgomp.c/interop-hip-nvidia-full.c: New test.
+ * testsuite/libgomp.c/interop-hip-nvidia-no-headers.c: New test.
+ * testsuite/libgomp.c/interop-hip-nvidia-no-hip-header.c: New test.
+ * testsuite/libgomp.c/interop-hip.h: New test.
+ * testsuite/libgomp.c/interop-hipblas-amd-full.c: New test.
+ * testsuite/libgomp.c/interop-hipblas-amd-no-hip-header.c: New test.
+ * testsuite/libgomp.c/interop-hipblas-nvidia-full.c: New test.
+ * testsuite/libgomp.c/interop-hipblas-nvidia-no-headers.c: New test.
+ * testsuite/libgomp.c/interop-hipblas-nvidia-no-hip-header.c: New test.
+ * testsuite/libgomp.c/interop-hipblas.h: New test.
+ * testsuite/libgomp.fortran/interop-hip-amd-full.F90: New test.
+ * testsuite/libgomp.fortran/interop-hip-amd-no-module.F90: New test.
+ * testsuite/libgomp.fortran/interop-hip-nvidia-full.F90: New test.
+ * testsuite/libgomp.fortran/interop-hip-nvidia-no-module.F90: New test.
+ * testsuite/libgomp.fortran/interop-hip.h: New test.
+
+2025-04-23 Tobias Burnus <tburnus@baylibre.com>
+
+ * testsuite/libgomp.fortran/target-enter-data-8.f90: New test.
+
2025-04-17 Jakub Jelinek <jakub@redhat.com>
PR libgomp/119849
+2025-04-24 Jonathan Wakely <jwakely@redhat.com>
+
+ * testsuite/23_containers/forward_list/48101_neg.cc: Remove
+ dg-prune-output that doesn't match anything.
+ * testsuite/23_containers/list/48101_neg.cc: Likewise.
+ * testsuite/23_containers/multiset/48101_neg.cc: Likewise.
+ * testsuite/23_containers/set/48101_neg.cc: Likewise.
+
+2025-04-24 Jonathan Wakely <jwakely@redhat.com>
+
+ * include/std/generator (generator::yield_value): Add overload
+ taking lvalue element_of view, as per LWG 3899.
+ * testsuite/24_iterators/range_generators/lwg3899.cc: New test.
+
+2025-04-24 François Dumont <frs.dumont@gmail.com>
+
+ * testsuite/util/replacement_memory_operators.h: Adapt for -fno-exceptions
+ context.
+ * testsuite/23_containers/deque/capacity/shrink_to_fit.cc: Adapt test
+ to check std::deque shrink_to_fit method.
+
+2025-04-23 Andreas Schwab <schwab@linux-m68k.org>
+
+ * config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Update.
+ * config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt: Update.
+ * config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Update.
+
+2025-04-23 ZENG Hao <c@cyano.cn>
+
+ * src/c++23/std.cc.in (atomic_signed_lock_free): Guard with
+ preprocessor check for __cpp_lib_atomic_lock_free_type_aliases.
+ (atomic_unsigned_lock_free): Likewise.
+
2025-04-22 Patrick Palka <ppalka@redhat.com>
Revert: