https://gcc.gnu.org/g:7de2f64d72f02c0a7e69b9d48a834e0c78517a50
commit r15-7710-g7de2f64d72f02c0a7e69b9d48a834e0c78517a50 Author: GCC Administrator <gccadmin@gcc.gnu.org> Date: Wed Feb 26 00:17:49 2025 +0000 Daily bump. Diff: --- gcc/ChangeLog | 28 ++++++++ gcc/DATESTAMP | 2 +- gcc/c/ChangeLog | 7 ++ gcc/cp/ChangeLog | 27 ++++++++ gcc/d/ChangeLog | 9 +++ gcc/fortran/ChangeLog | 17 +++++ gcc/testsuite/ChangeLog | 33 +++++++++ libphobos/ChangeLog | 173 ++++++++++++++++++++++++++++++++++++++++++++++++ libstdc++-v3/ChangeLog | 61 +++++++++++++++++ 9 files changed, 356 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7b3ae06b9bd7..87e7e4566e00 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,31 @@ +2025-02-25 Jason Merrill <ja...@redhat.com> + + * doc/install.texi: 10.5 won't bootstrap with C++98. + +2025-02-25 Vladimir N. Makarov <vmaka...@redhat.com> + + PR target/115458 + * lra-int.h (LRA_MAX_FAILED_SPLITS): Define and check its value. + (lra_split_hard_reg_for): Change prototype. + * lra.cc (lra): Try to split hard reg range several times after a + failure. + * lra-assigns.cc (lra_split_hard_reg_for): Add an arg, a flag of + giving up. Report asm error and nullify the asm insn depending on + the arg value. + +2025-02-25 Jakub Jelinek <ja...@redhat.com> + + PR translation/118991 + * config/pru/pru-pragma.cc (pru_pragma_ctable_entry): Use %wd + instead of %" HOST_WIDE_INT_PRINT "d to print a hwi in error. + +2025-02-25 Iain Buclaw <ibuc...@gdcproject.org> + + PR d/118654 + * config/i386/i386-d.cc (ix86_d_target_versions): Predefine GNU_CET. + (ix86_d_handle_target_cf_protection): New. + (ix86_d_register_target_info): Add 'CET' TargetInfo key. + 2025-02-24 Robin Dapp <rd...@ventanamicro.com> PR target/114516 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 8781321aefe5..5faab8b9a3f8 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20250225 +20250226 diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index ffb938812cb2..06db950e8c4a 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,10 @@ +2025-02-25 Jakub Jelinek <ja...@redhat.com> + + PR c/119000 + * c-parser.cc (c_parser_omp_atomic): For omp write call + default_function_array_read_conversion on the rhs expression. + Merge the two adjacent if (code == NOP_EXPR) blocks. + 2025-02-11 Sandra Loosemore <sloosem...@baylibre.com> * c-parser.cc (c_finish_omp_declare_variant): Update call to diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 00e9ae4a230a..3ebafcc8a30f 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,30 @@ +2025-02-25 Jakub Jelinek <ja...@redhat.com> + + PR c++/118876 + * cp-tree.h (register_dtor_fn): Add a bool argument defaulted to false. + * decl.cc (start_cleanup_fn): Add OMP_TARGET argument, use + "__omp_tcf" prefix rather than "__tcf" in that case. Add + "omp declare target" and "omp declare target nohost" attributes + to the fndecl. + (register_dtor_fn): Add OMP_TARGET argument, pass it down to + start_cleanup_fn. + * decl2.cc (one_static_initialization_or_destruction): Add OMP_TARGET + argument, pass it down to register_dtor_fn. + (emit_partial_init_fini_fn): Pass omp_target to + one_static_initialization_or_destruction. + (handle_tls_init): Pass false to + one_static_initialization_or_destruction. + +2025-02-25 Jakub Jelinek <ja...@redhat.com> + + PR c++/118923 + * tree.cc (get_internal_target_expr): Use force_target_expr + instead of build_target_expr_with_type. + * typeck.cc (get_member_function_from_ptrfunc): Use + get_internal_target_expr instead of force_target_expr. + * decl.cc (cp_finish_decl): Likewise. + * method.cc (build_comparison_op): Likewise. + 2025-02-22 Sandra Loosemore <sloosem...@baylibre.com> * parser.cc (cp_finish_omp_declare_variant): Initialize diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog index 56bfb849cf61..d2096632b8cd 100644 --- a/gcc/d/ChangeLog +++ b/gcc/d/ChangeLog @@ -1,3 +1,12 @@ +2025-02-25 Iain Buclaw <ibuc...@gdcproject.org> + + PR d/118654 + * implement-d.texi: Document CET version and traits key. + +2025-02-25 Iain Buclaw <ibuc...@gdcproject.org> + + * Make-lang.in (check_gdc_parallelize): Increase to 128. + 2025-01-29 Arsen Arsenović <ar...@aarsen.me> Jakub Jelinek <ja...@redhat.com> diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index beb69c72590a..ec77eb56db42 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,20 @@ +2025-02-25 Andre Vehreschild <ve...@gcc.gnu.org> + + PR fortran/107635 + * coarray.cc (fixup_comp_refs): For class types set correct + component (class) type. + (split_expr_at_caf_ref): Provide location. + * trans-intrinsic.cc (conv_caf_send_to_remote): Look at + generated formal argument and not declared one to detect + descriptor arrays. + (conv_caf_sendget): Same. + +2025-02-25 Andre Vehreschild <ve...@gcc.gnu.org> + + PR fortran/107635 + * trans-intrinsic.cc (conv_caf_sendget): Use the size of data + transferred between the two images and not the descritor's size. + 2025-02-21 Harald Anlauf <anl...@gmx.de> PR fortran/48958 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3bd3495402b5..46704c6a3030 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,36 @@ +2025-02-25 Andrew Pinski <quic_apin...@quicinc.com> + + PR testsuite/115028 + * gcc.target/i386/pr101950-2.c: Use a pointer argument instead + of the argument directly. + +2025-02-25 Vladimir N. Makarov <vmaka...@redhat.com> + + PR target/115458 + * g++.target/riscv/pr115458.C: New. + +2025-02-25 Iain Buclaw <ibuc...@gdcproject.org> + + PR d/118654 + * gdc.dg/target/i386/i386.exp: New test. + * gdc.dg/target/i386/targetinfo_CET.d: New test. + +2025-02-25 Jakub Jelinek <ja...@redhat.com> + + PR c/119000 + * c-c++-common/gomp/pr119000.c: New test. + +2025-02-25 Jakub Jelinek <ja...@redhat.com> + + PR c++/118876 + * g++.dg/gomp/pr118876.C: New test. + +2025-02-25 Jakub Jelinek <ja...@redhat.com> + + PR c++/118923 + * g++.dg/cpp0x/pr118923.C: New test. + * g++.dg/cpp1y/pr118923.C: New test. + 2025-02-24 Robin Dapp <rd...@ventanamicro.com> PR target/114516 diff --git a/libphobos/ChangeLog b/libphobos/ChangeLog index fb755e5f8769..77a0d64027aa 100644 --- a/libphobos/ChangeLog +++ b/libphobos/ChangeLog @@ -1,3 +1,176 @@ +2025-02-25 Iain Buclaw <ibuc...@gdcproject.org> + + * testsuite/libphobos.phobos/shared/phobos-shared.exp: Require + is-effective-target run_expensive_tests. + * testsuite/libphobos.phobos/static/phobos-static.exp: Likewise. + * testsuite/libphobos.phobos/phobos.exp: New test. + * testsuite/libphobos.phobos/std_algorithm_comparison.d: New test. + * testsuite/libphobos.phobos/std_algorithm_iteration.d: New test. + * testsuite/libphobos.phobos/std_algorithm_mutation.d: New test. + * testsuite/libphobos.phobos/std_algorithm_searching.d: New test. + * testsuite/libphobos.phobos/std_algorithm_setops.d: New test. + * testsuite/libphobos.phobos/std_algorithm_sorting.d: New test. + * testsuite/libphobos.phobos/std_array.d: New test. + * testsuite/libphobos.phobos/std_ascii.d: New test. + * testsuite/libphobos.phobos/std_base64.d: New test. + * testsuite/libphobos.phobos/std_bigint.d: New test. + * testsuite/libphobos.phobos/std_bitmanip.d: New test. + * testsuite/libphobos.phobos/std_checkedint.d: New test. + * testsuite/libphobos.phobos/std_complex.d: New test. + * testsuite/libphobos.phobos/std_concurrency.d: New test. + * testsuite/libphobos.phobos/std_container_array.d: New test. + * testsuite/libphobos.phobos/std_container_binaryheap.d: New test. + * testsuite/libphobos.phobos/std_container_dlist.d: New test. + * testsuite/libphobos.phobos/std_container_rbtree.d: New test. + * testsuite/libphobos.phobos/std_container_slist.d: New test. + * testsuite/libphobos.phobos/std_container_util.d: New test. + * testsuite/libphobos.phobos/std_conv.d: New test. + * testsuite/libphobos.phobos/std_csv.d: New test. + * testsuite/libphobos.phobos/std_datetime_date.d: New test. + * testsuite/libphobos.phobos/std_datetime_interval.d: New test. + * testsuite/libphobos.phobos/std_datetime_package.d: New test. + * testsuite/libphobos.phobos/std_datetime_stopwatch.d: New test. + * testsuite/libphobos.phobos/std_datetime_systime.d: New test. + * testsuite/libphobos.phobos/std_datetime_timezone.d: New test. + * testsuite/libphobos.phobos/std_demangle.d: New test. + * testsuite/libphobos.phobos/std_digest_crc.d: New test. + * testsuite/libphobos.phobos/std_digest_hmac.d: New test. + * testsuite/libphobos.phobos/std_digest_md.d: New test. + * testsuite/libphobos.phobos/std_digest_murmurhash.d: New test. + * testsuite/libphobos.phobos/std_digest_package.d: New test. + * testsuite/libphobos.phobos/std_digest_ripemd.d: New test. + * testsuite/libphobos.phobos/std_digest_sha.d: New test. + * testsuite/libphobos.phobos/std_encoding.d: New test. + * testsuite/libphobos.phobos/std_exception.d: New test. + * testsuite/libphobos.phobos/std_experimental_allocator_building_blocks_affix_allocator.d: + New test. + * testsuite/libphobos.phobos/std_experimental_allocator_building_blocks_aligned_block_list.d: + New test. + * testsuite/libphobos.phobos/std_experimental_allocator_building_blocks_allocator_list.d: + New test. + * testsuite/libphobos.phobos/std_experimental_allocator_building_blocks_ascending_page_allocator.d: + New test. + * testsuite/libphobos.phobos/std_experimental_allocator_building_blocks_bitmapped_block.d: + New test. + * testsuite/libphobos.phobos/std_experimental_allocator_building_blocks_bucketizer.d: + New test. + * testsuite/libphobos.phobos/std_experimental_allocator_building_blocks_fallback_allocator.d: + New test. + * testsuite/libphobos.phobos/std_experimental_allocator_building_blocks_free_list.d: + New test. + * testsuite/libphobos.phobos/std_experimental_allocator_building_blocks_kernighan_ritchie.d: + New test. + * testsuite/libphobos.phobos/std_experimental_allocator_building_blocks_quantizer.d: + New test. + * testsuite/libphobos.phobos/std_experimental_allocator_building_blocks_region.d: New test. + * testsuite/libphobos.phobos/std_experimental_allocator_building_blocks_scoped_allocator.d: + New test. + * testsuite/libphobos.phobos/std_experimental_allocator_building_blocks_segregator.d: + New test. + * testsuite/libphobos.phobos/std_experimental_allocator_building_blocks_stats_collector.d: + New test. + * testsuite/libphobos.phobos/std_experimental_allocator_common.d: New test. + * testsuite/libphobos.phobos/std_experimental_allocator_gc_allocator.d: New test. + * testsuite/libphobos.phobos/std_experimental_allocator_mallocator.d: New test. + * testsuite/libphobos.phobos/std_experimental_allocator_package.d: New test. + * testsuite/libphobos.phobos/std_experimental_allocator_showcase.d: New test. + * testsuite/libphobos.phobos/std_experimental_allocator_typed.d: New test. + * testsuite/libphobos.phobos/std_file.d: New test. + * testsuite/libphobos.phobos/std_format_package.d: New test. + * testsuite/libphobos.phobos/std_format_read.d: New test. + * testsuite/libphobos.phobos/std_format_spec.d: New test. + * testsuite/libphobos.phobos/std_format_write.d: New test. + * testsuite/libphobos.phobos/std_functional.d: New test. + * testsuite/libphobos.phobos/std_getopt.d: New test. + * testsuite/libphobos.phobos/std_int128.d: New test. + * testsuite/libphobos.phobos/std_internal_cstring.d: New test. + * testsuite/libphobos.phobos/std_internal_scopebuffer.d: New test. + * testsuite/libphobos.phobos/std_json.d: New test. + * testsuite/libphobos.phobos/std_logger_core.d: New test. + * testsuite/libphobos.phobos/std_logger_nulllogger.d: New test. + * testsuite/libphobos.phobos/std_math_algebraic.d: New test. + * testsuite/libphobos.phobos/std_math_exponential.d: New test. + * testsuite/libphobos.phobos/std_math_hardware.d: New test. + * testsuite/libphobos.phobos/std_math_operations.d: New test. + * testsuite/libphobos.phobos/std_math_remainder.d: New test. + * testsuite/libphobos.phobos/std_math_rounding.d: New test. + * testsuite/libphobos.phobos/std_math_traits.d: New test. + * testsuite/libphobos.phobos/std_math_trigonometry.d: New test. + * testsuite/libphobos.phobos/std_meta.d: New test. + * testsuite/libphobos.phobos/std_mmfile.d: New test. + * testsuite/libphobos.phobos/std_numeric.d: New test. + * testsuite/libphobos.phobos/std_outbuffer.d: New test. + * testsuite/libphobos.phobos/std_package.d: New test. + * testsuite/libphobos.phobos/std_parallelism.d: New test. + * testsuite/libphobos.phobos/std_path.d: New test. + * testsuite/libphobos.phobos/std_random.d: New test. + * testsuite/libphobos.phobos/std_range_interfaces.d: New test. + * testsuite/libphobos.phobos/std_range_package.d: New test. + * testsuite/libphobos.phobos/std_range_primitives.d: New test. + * testsuite/libphobos.phobos/std_regex_package.d: New test. + * testsuite/libphobos.phobos/std_signals.d: New test. + * testsuite/libphobos.phobos/std_socket.d: New test. + * testsuite/libphobos.phobos/std_stdio.d: New test. + * testsuite/libphobos.phobos/std_string.d: New test. + * testsuite/libphobos.phobos/std_sumtype.d: New test. + * testsuite/libphobos.phobos/std_traits.d: New test. + * testsuite/libphobos.phobos/std_typecons.d: New test. + * testsuite/libphobos.phobos/std_typetuple.d: New test. + * testsuite/libphobos.phobos/std_uni_package.d: New test. + * testsuite/libphobos.phobos/std_uri.d: New test. + * testsuite/libphobos.phobos/std_utf.d: New test. + * testsuite/libphobos.phobos/std_uuid.d: New test. + * testsuite/libphobos.phobos/std_variant.d: New test. + * testsuite/libphobos.phobos/std_zlib.d: New test. + +2025-02-25 Iain Buclaw <ibuc...@gdcproject.org> + + * scripts/.gitignore: Add tests_extractor. + * scripts/README: Document tests_extractor.d. + * scripts/tests_extractor.d: New file. + +2025-02-25 Iain Buclaw <ibuc...@gdcproject.org> + + * testsuite/libphobos.druntime_shared/druntime_shared.exp: Move to... + * testsuite/libphobos.druntime/shared/druntime-shared.exp: ...here. + * testsuite/libphobos.druntime/druntime.exp: Move to... + * testsuite/libphobos.druntime/static/druntime-static.exp: ...here. + * testsuite/libphobos.phobos_shared/phobos_shared.exp: Move to... + * testsuite/libphobos.phobos/shared/phobos-shared.exp: ...here. + * testsuite/libphobos.phobos/phobos.exp: Move to... + * testsuite/libphobos.phobos/static/phobos-static.exp: ...here. + +2025-02-25 Iain Buclaw <ibuc...@gdcproject.org> + + * libdruntime/Makefile.am: Update comment. + * libdruntime/Makefile.in: Regenerate. + * src/Makefile.am: Update comment. + * src/Makefile.in: Regenerate. + * scripts/.gitignore: New file. + * scripts/README: New file. + * scripts/gen_druntime_sources.d: New file. + * scripts/gen_phobos_sources.d: New file. + +2025-02-25 Iain Buclaw <ibuc...@gdcproject.org> + + PR d/118654 + * Makefile.in: Regenerate. + * configure: Regenerate. + * configure.ac: Remove CET_DFLAGS. + * libdruntime/Makefile.am: Replace CET_DFLAGS with CET_FLAGS. + * libdruntime/Makefile.in: Regenerate. + * libdruntime/core/thread/fiber/package.d: Replace CET with GNU_CET. + * src/Makefile.am: Replace CET_DFLAGS with CET_FLAGS. + * src/Makefile.in: Regenerate. + * testsuite/Makefile.in: Regenerate. + * testsuite/testsuite_flags.in: Replace CET_DFLAGS with CET_FLAGS. + +2025-02-25 Iain Buclaw <ibuc...@gdcproject.org> + + * testsuite/Makefile.am (check_p_subno): Remove variable. + (check_p_subdirs): Increase default parallel slots to 128. + * testsuite/Makefile.in: Regenerate. + 2025-02-11 Rainer Orth <r...@cebitec.uni-bielefeld.de> PR d/111628 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index f0225a270c59..ece8553b59a8 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,64 @@ +2025-02-25 Giuseppe D'Angelo <giuseppe.dang...@kdab.com> + + * include/bits/algorithmfwd.h (stable_sort): Add constexpr. + * include/bits/ranges_algo.h (__stable_sort_fn): Add constexpr + to the function call operators. + * include/bits/stl_algo.h (__stable_sort): Add constexpr. + During constant evaluation, always use the non-allocating path. + (stable_sort): Add constexpr. + (__inplace_stable_sort): Likewise. + (__merge_without_buffer): Likewise. + * include/bits/version.def (constexpr_algorithms): Bump value + for C++26. + * include/bits/version.h: Regnerate. + * testsuite/25_algorithms/cpp_lib_constexpr.cc: Test the bumped + feature-testing macro. + * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Adapt + the test to constexpr stable_sort. + * testsuite/25_algorithms/stable_sort/constexpr.cc: New test. + +2025-02-25 Giuseppe D'Angelo <giuseppe.dang...@kdab.com> + + * include/bits/c++config (_GLIBCXX26_CONSTEXPR): New macro. + +2025-02-25 Jonathan Wakely <jwak...@redhat.com> + + PR libstdc++/93059 + * include/bits/stl_algobase.h (__fill_a1): Fix typo in SFINAE + constraint. + +2025-02-25 François Dumont <frs.dum...@gmail.com> + + * include/bits/hashtable_policy.h + (_Hash_code_base::_M_copy_code, _Hash_code_base::_M_store_code): Remove. + * include/bits/hashtable.h (_M_hash_code_ext): New. + (_M_merge_multi(_Hashtable&)): Use latter. + (_M_copy_code): New. + (_M_assign): Use latter. + (_M_bucket_index_ex): New. + (_M_equals): Use latter. + (_M_store_code): New. + (_M_src_hash_code): Remove key_type parameter. + * testsuite/23_containers/unordered_map/modifiers/merge.cc (test10): New + test case. + +2025-02-25 Patrick Palka <ppa...@redhat.com> + + PR libstdc++/118083 + * include/bits/ranges_base.h + (ranges::__access::__possibly_const_range): Adjust logic as per + LWG 4027. Add missing input_range constraint. + * testsuite/std/ranges/access/cbegin.cc (test05): Verify LWG + 4027 testcases. + * testsuite/std/ranges/access/cdata.cc: Adjust, simplify and + consolidate some tests after the above. + * testsuite/std/ranges/access/cend.cc: Likewise. + * testsuite/std/ranges/access/crbegin.cc: Likewise. + * testsuite/std/ranges/access/crend.cc: Likewise. + * testsuite/std/ranges/adaptors/join.cc: Likewise. + * testsuite/std/ranges/adaptors/take_while.cc: Likewise. + * testsuite/std/ranges/adaptors/transform.cc: Likewise. + 2025-02-22 Jonathan Wakely <jwak...@redhat.com> PR c++/118981