From: GCC Administrator Date: Fri, 7 Nov 2025 00:20:18 +0000 (+0000) Subject: Daily bump. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=29ea6d141ee9bdafae0789ee68b6ddcb96b55652;p=thirdparty%2Fgcc.git Daily bump. --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 073dd355787..c07ffcf319d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,103 @@ +2025-11-06 Sandra Loosemore + + * doc/invoke.texi (AArch64 Options): Clean up description of + -mbranch-protection= argument. + (ARM Options): Likewise. + +2025-11-06 Alejandro Colomar + + * doc/extend.texi: Move _Countof under 'Syntax Extensions'. + +2025-11-06 Georg-Johann Lay + + PR target/122516 + * config/avr/elf.h (SUPPORTS_SHF_GNU_RETAIN): Define if + HAVE_GAS_SHF_GNU_RETAIN. + +2025-11-06 Jeff Law + + * config/riscv/riscv.cc (riscv_noce_conversion_profitable_p): Ignore + assignments of (const_int 0) to a register. They will get propagated + away. + +2025-11-06 Georg-Johann Lay + + * config/avr/avr.cc (avr_output_addr_vec): Output + a valid opcode prior to the first gs() label provided: + - The code is compiled for an arch that has AVR-SD mcus, and + - the function has a "section" attribute, and + - the function has a gs() label addresses switch/case table. + +2025-11-06 Your Name + + PR rtl-optimization/121136 + * config/riscv/riscv.md: Add define_insn to test the + upper bits of a register against zero using sltiu when + the bits are extracted via zero_extract or logial right shift. + Add 3->2 define_splits for gtu/leu cases testing upper bits + against zero. + +2025-11-06 Richard Biener + + * tree-core.h (tree_ssa_name::active_iterated_stmt): Mark + GTY((skip(""))). + +2025-11-06 Richard Biener + + * ssa-iterators.h (imm_use_iterator::name): Add. + (delink_imm_use): When in a FOR_EACH_IMM_USE_STMT iteration + enforce we only remove uses from the current stmt. + (end_imm_use_stmt_traverse): Reset current stmt. + (first_imm_use_stmt): Assert no FOR_EACH_IMM_USE_STMT on + var is in progress. Set the current stmt. + (next_imm_use_stmt): Set the current stmt. + (auto_end_imm_use_fast_traverse): New, lower iteration + depth upon destruction. + (first_readonly_imm_use): Bump the iteration depth. + * tree-core.h (tree_ssa_name::active_iterated_stmt, + tree_ssa_name::fast_iteration_depth): New members when + ENABLE_GIMPLE_CHECKING. + * tree-ssanames.cc (make_ssa_name_fn): Initialize + immediate use verifier bookkeeping members. + +2025-11-06 Richard Biener + + PR tree-optimization/122502 + * ssa-iterators.h (imm_use_iterator::iter_node): Remove. + (imm_use_iterator::next_stmt_use): New. + (next_readonly_imm_use): Adjust checking code. + (end_imm_use_stmt_traverse): Simplify. + (link_use_stmts_after): Likewise. Return the last use + with the same stmt. + (first_imm_use_stmt): Simplify. Set next_stmt_use. + (next_imm_use_stmt): Likewise. + (end_imm_use_on_stmt_p): Adjust. + +2025-11-06 Richard Biener + + * doc/tree-ssa.texi: Update immediate use iterator + documentation. + * ssa-iterators.h: Likewise. + +2025-11-06 Andrew MacLeod + + PR tree-optimization/113632 + * range-op-mixed.h (operator_bitwise_xor): Relocate and adjust. + (operator_bitwise_xor::m_and, m_or, m_not): New. + * range-op.cc (operator_bitwise_xor::fold_range): New. + +2025-11-06 Xi Ruoyao + + * config.gcc: Support --with-cmodel={medium,normal} and make + medium the default for LoongArch, define TARGET_DEFAULT_CMODEL + as the selected value. + * config/loongarch/loongarch-opts.cc: Use TARGET_DEFAULT_CMODEL + instead of hard coding CMODEL_NORMAL. + * doc/install.texi: Document that --with-cmodel= is supported + for LoongArch. + * doc/invoke.texi: Update the document about default code model + on LoongArch. + 2025-11-05 Nathaniel Shead PR c++/121574 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 02b442ec20c..da14cf481a5 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20251106 +20251107 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 51f57e31055..6318f8cfb2a 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,24 @@ +2025-11-06 Eric Botcazou + + PR ada/113352 + * sem_ch4.adb (Diagnose_Call): Tweak error message. + * sem_ch8.adb (Find_Selected_Component): Remove bypass for calls + to procedures in the overloaded overloadable case. Factor out + the diagnostics code and invoke it uniformly in this case. + +2025-11-06 Eric Botcazou + + PR ada/113350 + PR ada/113551 + * exp_ch2.adb (Expand_Renaming): Fix reference to Evaluate_Name. + * exp_ch8.adb (Expand_N_Subprogram_Renaming_Declaration): Call + Evaluate_Name to evaluate the name. + * sem_ch8.adb (Analyze_Renamed_Entry): Minor tweaks. + (Analyze_Renamed_Family_Member): Likewise. + (Analyze_Renamed_Primitive_Operation): Likewise. + Fix thinko in the function checking profile conformance, save the + result of the resolution and make implicit dereferences explicit. + 2025-11-05 Eric Botcazou PR ada/35793 diff --git a/gcc/cobol/ChangeLog b/gcc/cobol/ChangeLog index d2cc68accf7..0c420784929 100644 --- a/gcc/cobol/ChangeLog +++ b/gcc/cobol/ChangeLog @@ -1,3 +1,100 @@ +2025-11-06 Robert Dubner + James K. Lowden + + * Make-lang.in: Repair documentation generation. + * cdf.y: Changes to tokens. + * cobol1.cc (cobol_langhook_handle_option): Add comment. + * genapi.cc (function_pointer_from_name): Use data.original() for + function name. + (parser_initialize_programs): Likewise. + (cobol_compare): Make sure encodings of comparands are the same. + (move_tree): Change name of DEFAULT_SOURCE_ENCODING macro. + (parser_enter_program): Typo. + (psa_FldLiteralN): Break out dirty_to_binary() support routine. + (dirty_to_binary): Likewise. + (parser_alphabet): Rename 'alphabet' to 'collation_sequence'. + (parser_allocate): Change wsclear() to be uint32_t instead of char. + (parser_label_label): Formatting. + (parser_label_goto): Likewise. + (get_the_filename): Breakout get_the_filename(), which handles + encoding. + (parser_file_open): Likewise. + (set_up_delete_file_label): Implement DELETE FILE (Format 2). + (parser_file_delete_file): Likewise. + (parser_file_delete_on_exception): Likewise. + (parser_file_delete_not_exception): Likewise. + (parser_file_delete_end): Likewise. + (parser_call): Use data.original(). + (parser_entry): Use data.original(). + (mh_source_is_literalN): Convert from + sourceref.field->codeset.encoding. + (binary_initial_from_float128): Change to "binary_initial". + (binary_initial): Calculate in FIXED_WIDE_INT(128) instead of + REAL_VALUE_TYPE. + (digits_from_int128): New routine uses binary_initial. + (digits_from_float128): Removed. Kept as comment for reference. + (initial_from_initial): Use binary_initial. + (actually_create_the_static_field): Use correct encoding. + (parser_symbol_add): Likewise. + * genapi.h (parser_file_delete_file): Implement FILE DELETE. + (parser_file_delete_on_exception): Implement FILE DELETE. + (parser_file_delete_not_exception): Implement FILE DELETE. + (parser_file_delete_end): Implement FILE DELETE. + * genmath.cc: Include charmaps.h. + * genutil.cc (get_literal_string): Change name of + DEFAULT_SOURCE_ENCODING macro. + * parse.y: Token changes; numerous changes in support of encoding; + support for DELETE FILE. + * parse_ante.h (name_of): Use data.original(). + (class prog_descr_t): Support of locales. + (current_options): Formatting. + (current_encoding): Formatting. + (current_program_index): Formatting. + (current_section): Formatting. + (current_paragraph): Formatting. + (is_integer_literal): Use correct encoding. + (value_encoding_check): Handle encoding changes. + (alphabet_add): Likewise. + (data_division_ready): Likewise. + * scan.l: Use data.original(). + * show_parse.h: Use correct encoding. + * symbols.cc (elementize): Likewise. + (symbol_elem_cmp): Handle locale. + (struct symbol_elem_t): Likewise. + (symbol_locale): Likewise. + (field_str): Change DEFAULT_SOURCE_ENCODING macro name. + (symbols_alphabet_set): Formatting. + (symbols_update): Modify consistency checks. + (symbol_locale_add): Locale support. + (cbl_locale_t::cbl_locale_t): Locale support. + (cbl_alphabet_t::cbl_alphabet_t): New structure. + (cbl_alphabet_t::reencode): Formatting. + (cbl_alphabet_t::assign): Change name of collation_sequence. + (cbl_alphabet_t::also): Likewise. + (new_literal_add): Anticipate the need for four-byte characters. + (guess_encoding): Eliminate. + (cbl_field_t::internalize): Refine conversion of data.initial to + specified encoding. + * symbols.h (enum symbol_type_t): Add SymLocale. + (struct cbl_field_data_t): Incorporate data.orig. + (struct cbl_field_t): Likewise. + (struct cbl_delete_file_t): New structure. + (struct cbl_label_t): Incorporate cbl_delete_file_t. + (struct cbl_locale_t): Support for locale. + (hex_decode): Comment. + (struct cbl_alphabet_t): Incorporate locale; change variable name + to collation_sequence. + (struct symbol_elem_t): Incorporate locale. + (cbl_locale_of): Likewise. + (cbl_alphabet_of): Likewise. + (symbol_locale_add): Likewise. + (wsclear): Type is now uint32_t instead of char. + * util.cc (symbol_type_str): Incorporate locale. + (cbl_field_t::report_invalid_initial_value): Change test so that + pure PIC A() variables are limited to [a-zA-Z] and space. + (valid_move): Use DEFAULT_SOURCE_ENCODING macro. + (cobol_filename): Formatting. + 2025-10-26 Eric Botcazou * Make-lang.in ($(srcdir)/cobol/token_names.h): Silence recipe. diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 4547b43e699..6ddba0bc0db 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,24 @@ +2025-11-06 Jerry DeLisle + + PR fortran/121628 + * trans-array.cc (get_copy_helper_function_type): New function to + create function type for element copy helpers. + (get_copy_helper_pointer_type): New function to create pointer type + for element copy helpers. + (generate_element_copy_wrapper): New function to generate runtime + helper for element-wise deep copying of recursive types. + (structure_alloc_comps): Detect recursive allocatable array + components and use runtime helper instead of inline recursion. + Add includes for cgraph.h and function.h. + * trans-decl.cc (gfor_fndecl_cfi_deep_copy_array): New declaration + for runtime deep copy helper. + (gfc_build_builtin_function_decls): Initialize the runtime helper + declaration. + * trans-intrinsic.cc (conv_intrinsic_atomic_op): Enhance handling of + constant values in coarray atomic operations by detecting and + materializing address-of-constant expressions. + * trans.h (gfor_fndecl_cfi_deep_copy_array): Add external declaration. + 2025-11-05 Paul Thomas PR fortran/122566 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0800f10c302..14e598a21b1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,68 @@ +2025-11-06 Jerry DeLisle + + PR fortran/121628 + * gfortran.dg/alloc_comp_deep_copy_5.f90: New test for recursive + allocatable array deep copy. + * gfortran.dg/alloc_comp_deep_copy_6.f90: New test for multi-level + recursive allocatable deep copy. + * gfortran.dg/array_memcpy_2.f90: Fix test with proper allocation. + Signed-off-by: Christopher Albert + +2025-11-06 Eric Botcazou + + * gnat.dg/prefix3.adb: New test. + * gnat.dg/prefix3_pkg.ads: New helper. + * gnat.dg/prefix3_pkg.adb: Likewise. + +2025-11-06 Jeff Law + + * gcc.target/riscv/czero-bext.c: New test. + +2025-11-06 Eric Botcazou + + * gnat.dg/renaming19.adb: New test. + * gnat.dg/renaming19_pkg.ads: New helper. + * gnat.dg/renaming19_pkg.adb: Likewise. + +2025-11-06 Your Name + + PR rtl-optimization/121136 + * gcc.target/riscv/pr121136.c: New test. + * gcc.dg/cmp-mem-const-1.c: Skip for risc-v. + * gcc.dg/cmp-mem-const-2.c: Likewise. + +2025-11-06 Richard Biener + + PR tree-optimization/122502 + * gcc.dg/torture/pr122502-2.c: New testcase. + +2025-11-06 Andrew MacLeod + + PR tree-optimization/113632 + * gcc.dg/pr113632.c: New. + +2025-11-06 Christophe Lyon + + * lib/target-supports.exp + (check_effective_target_arm_v8_vfp_ok_nocache): New. + (check_effective_target_arm_v8_vfp_ok): Call the above helper, and + use global flags. + (add_options_for_arm_v8_vfp): Use et_arm_v8_vfp_flags. + * gcc.target/arm/lceil-vcvt_1.c: Remove -march=armv8-a. + * gcc.target/arm/lfloor-vcvt_1.c: Likewise. + * gcc.target/arm/lround-vcvt_1.c: Likewise. + * gcc.target/arm/vrinta-ce.c: Likewise. + +2025-11-06 Xi Ruoyao + + * gcc.target/loongarch/vect-frint-no-inexact.c (dg-options): Add + -mcmodel=normal. + * gcc.target/loongarch/vect-frint-scalar-no-inexact.c: Likewise. + * gcc.target/loongarch/vect-frint-scalar.c: Likewise. + * gcc.target/loongarch/vect-frint.c: Likewise. + * gcc.target/loongarch/vect-ftint-no-inexact.c: Likewise. + * gcc.target/loongarch/vect-ftint.c: Likewise. + 2025-11-05 Nathaniel Shead PR c++/121574 diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog index 8f5a66266c7..2cb4cf2ae4b 100644 --- a/libbacktrace/ChangeLog +++ b/libbacktrace/ChangeLog @@ -1,3 +1,7 @@ +2025-11-06 Ian Lance Taylor + + * elf.c (ELFMAGn): In #undef rename from ELF_MAGn. + 2025-11-03 Sam James * configure: Regenerate. diff --git a/libgcobol/ChangeLog b/libgcobol/ChangeLog index 3a08d9e9a25..b2f8336e2fa 100644 --- a/libgcobol/ChangeLog +++ b/libgcobol/ChangeLog @@ -1,3 +1,75 @@ +2025-11-06 Robert Dubner + James K. Lowden + + * charmaps.cc (__gg__encoding_iconv_type): Eliminate trailing + '/' characters from encoding names. + (__gg__get_charmap): Switch to DEFAULT_SOURCE_ENCODING macro name. + * charmaps.h (DEFAULT_CHARMAP_SOURCE): Likewise. + (DEFAULT_SOURCE_ENCODING): Likewise. + (class charmap_t): Enhance constructor. + * encodings.h (valid_encoding): New routine. + * gcobolio.h (enum cblc_file_prior_op_t): Support DELETE FILE. + * gfileio.cc (get_filename): Likewise. + (__io__file_remove): Likewise. + (__gg__file_reopen): Likewise. + (__io__file_open): Likewise. + (gcobol_fileops): Likewise. + (__gg__file_delete): Likewise. + (__gg__file_remove): Likewise. + * intrinsic.cc (get_all_time): Switch to DEFAULT_SOURCE_ENCODING + macro name. + (ftime_replace): Support ASCII/EBCDIC encoding. + (__gg__current_date): Likewise. + (__gg__max): Likewise. + (__gg__lower_case): Likewise. + (numval): Likewise. + (numval_c): Likewise. + (__gg__upper_case): Likewise. + (__gg__when_compiled): Likewise. + (gets_int): Likewise. + (gets_nanoseconds): Likewise. + (fill_cobol_tm): Likewise. + (floating_format_tester): Likewise. + (__gg__numval_f): Likewise. + (__gg__test_numval_f): Likewise. + (iscasematch): Likewise. + (strcasestr): Likewise. + (strcaselaststr): Likewise. + (__gg__substitute): Likewise. + (__gg__locale_compare): Support for locale. + (__gg__locale_date): Likewise. + (__gg__locale_time): Likewise. + (__gg__locale_time_from_seconds): Likewise. + * libgcobol.cc (class ec_status_t): Support for encoding. + (int128_to_field): Likewise. + (__gg__dirty_to_float): Likewise. + (format_for_display_internal): Likewise. + (get_float128): Likewise. + (compare_field_class): Likewise. + (__gg__compare_2): Likewise. + (init_var_both): Likewise. + (__gg__move): Likewise. + (display_both): Likewise. + (is_numeric_display_numeric): Likewise. + (accept_envar): Likewise. + (__gg__get_argv): Likewise. + (__gg__unstring): Likewise. + (__gg__check_fatal_exception): Likewise. + (__gg__adjust_encoding): Likewise. + (__gg__func_exception_location): Likewise. + (__gg__func_exception_statement): Likewise. + (__gg__func_exception_status): Likewise. + (__gg__func_exception_file): Likewise. + (__gg__just_mangle_name): Likewise. + (__gg__function_handle_from_name): Likewise. + (get_the_byte): Likewise. + (__gg__module_name): Likewise. + (__gg__accept_arg_value): Likewise. + * xmlparse.cc (fatalError): Formatting. + (setDocumentLocator): Formatting. + (xmlchar_of): Formatting. + (xmlParserErrors_str): Formatting. + 2025-11-03 Sam James * configure: Regenerate. diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 8460c5d3aae..b02f8d2b478 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,13 @@ +2025-11-06 Jerry DeLisle + + PR fortran/121628 + * Makefile.am: Add runtime/deep_copy.c to source files. + * Makefile.in: Regenerate. + * gfortran.map: Export _gfortran_cfi_deep_copy_array symbol. + * libgfortran.h: Add prototype for internal_deep_copy_array. + * runtime/deep_copy.c: New file implementing runtime deep copy + helper for recursive allocatable array components. + 2025-11-03 Sam James * configure: Regenerate. diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index aedadc00c06..db4be9c104b 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,25 @@ +2025-11-06 Peter Damianov + + PR target/122472 + * simple-object-coff.c (struct external_filehdr_bigobj): New + structure for BigObj file header. + (bigobj_magic): New constant for BigObj magic bytes. + (struct external_syment_bigobj): New structure for BigObj + 20-byte symbol table entries. + (union external_auxent_bigobj): New union for BigObj 20-byte + auxiliary symbol entries. + (struct simple_object_coff_read): Add is_bigobj flag and make + nscns 32-bit to support both formats. + (struct simple_object_coff_attributes): Add is_bigobj flag. + (simple_object_coff_match): Add BigObj format detection. + (simple_object_coff_read_strtab): Use format-specific symbol + size when calculating string table offset. + (simple_object_coff_attributes_merge): Check is_bigobj flag. + (simple_object_coff_write_filehdr_bigobj): New function. + (simple_object_coff_write_to_file): Add logic for writing + BigObj vs regular COFF format with appropriate symbol + and auxiliary entry structures. + 2025-11-03 Sam James * configure: Regenerate.