https://gcc.gnu.org/g:e3b432f1666408eafefdceedfacd205042f2b832
commit r17-994-ge3b432f1666408eafefdceedfacd205042f2b832 Author: GCC Administrator <[email protected]> Date: Sat May 30 00:16:40 2026 +0000 Daily bump. Diff: --- contrib/ChangeLog | 5 + gcc/ChangeLog | 224 +++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/ada/ChangeLog | 338 +++++++++++++++++++++++++++++++++++++++++++++++ gcc/c/ChangeLog | 6 + gcc/cobol/ChangeLog | 133 +++++++++++++++++++ gcc/cp/ChangeLog | 5 + gcc/fortran/ChangeLog | 15 +++ gcc/rust/ChangeLog | 6 + gcc/testsuite/ChangeLog | 344 ++++++++++++++++++++++++++++++++++++++++++++++++ include/ChangeLog | 8 ++ libgcc/ChangeLog | 13 ++ libgcobol/ChangeLog | 121 +++++++++++++++++ libgfortran/ChangeLog | 5 + libgomp/ChangeLog | 6 + libstdc++-v3/ChangeLog | 13 ++ 16 files changed, 1243 insertions(+), 1 deletion(-) diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 6b927b0381b1..43ae187f91b8 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,8 @@ +2026-05-29 Kevin Buettner <[email protected]> + + * dg-extract-results.py: Show warnings instead of erroring out + when encountering an unparseable file. + 2026-05-27 Richard Earnshaw <[email protected]> * check-MAINTAINERS.py (get_surname): Rename to ... diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dd5339a114db..03089a4fea09 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,227 @@ +2026-05-29 Andrew Pinski <[email protected]> + + PR tree-optimization/125475 + * gimple-range-fold.cc (fold_using_range::fold_stmt): Don't call + gimple_stmt_nonnegative_p. Instead set the varying range to + `[type_min, type_max]` if not the same as the precision. + +2026-05-29 Georg-Johann Lay <[email protected]> + + PR target/121343 + * config/avr/avr.md (FMUL): New int iterator. + (fmul, fmul_X, fmul_1, fmul_2): New int attributes. + (fmul, fmuls, fmulsu): Turn from expander to insn_and_split. + (fmul_insn, fmuls_insn, fmulsu_insn): Remove. + +2026-05-29 Tobias Burnus <[email protected]> + + PR c/122892 + * gimplify.cc (gimplify_scan_omp_clauses): Update for removed + plural -S in GOMP_OMP_PREDEF_ALLOC_THREAD. + +2026-05-29 Nathan Sidwell <[email protected]> + + * config/riscv/sync.md: Move & rename atomic unspec enums to unspecv + enum. Use renamed UNSPECV_$NAME enums. + * config/riscv/sync-rvwmo.md: Use renamed UNSPECV_$NAME enums. + * config/riscv/sync-ztso.md: Use renamed UNSPECV_$NAME enums. + +2026-05-29 Artemiy Volkov <[email protected]> + + * config/aarch64/aarch64-c.cc (aarch64_update_cpp_builtins): + Emit definitions for __ARM_FEATURE_{SVE,SME}2p2. + +2026-05-29 Artemiy Volkov <[email protected]> + + * config/aarch64/aarch64-sve-builtins-sve2.def (svmul): Define new + SVE function variant. + * config/aarch64/aarch64-sve2.md (@aarch64_sve_<optab><mode>): New + instruction pattern. + (@aarch64_sve_<optab><mode>_single): Likewise. + * config/aarch64/aarch64.h (TARGET_STREAMING_SME2p2): New macro. + +2026-05-29 Artemiy Volkov <[email protected]> + + * config/aarch64/aarch64-sve-builtins-base.cc (class svexpand_impl): + Define new SVE function base. + * config/aarch64/aarch64-sve-builtins-base.def (svcompact): Allow + execution in streaming mode when SME2p2 is enabled. + * config/aarch64/aarch64-sve-builtins-base.h (svexpand): Declare + new SVE function base. + * config/aarch64/aarch64-sve-builtins-sve2.def (svcompact): Define + new SVE function. + (svexpand): Likewise. + * config/aarch64/aarch64-sve.md (@aarch64_sve_compact<mode>): + Enable 32- and 64-bit element variants under SME2p2. New + insn pattern for 8- and 16-bit elements. + (@aarch64_sve_expand<mode>): New insn pattern. + * config/aarch64/aarch64.h (TARGET_SVE_OR_SME2p2): New macro. + * config/aarch64/aarch64.md (UNSPEC_SVE_EXPAND): New UNSPEC. + +2026-05-29 Artemiy Volkov <[email protected]> + + * config/aarch64/aarch64-sve-builtins-sve2.cc + (class svfirst_lastp_impl): Define new SVE function base class. + (svfirstp): Define new SVE function base. + (svlastp): Likewise. + * config/aarch64/aarch64-sve-builtins-sve2.def (svfirstp): Define + new SVE function. + (svlastp): Likewise. + * config/aarch64/aarch64-sve-builtins-sve2.h (svfirstp): Declare + new SVE function base. + * config/aarch64/aarch64-sve2.md (@aarch64_pred_firstp<mode>): New + insn pattern. + (@aarch64_pred_lastp<mode>): Likewise. + * config/aarch64/iterators.md (UNSPEC_FIRSTP): New UNSPEC. + (UNSPEC_LASTP): Likewise. + +2026-05-29 Artemiy Volkov <[email protected]> + + * config/aarch64/aarch64-sve-builtins-sve2.cc (svrint32x): Define + new function base. + (svrint32z): Likewise. + (svrint64x): Likewise. + (svrint64z): Likewise. + * config/aarch64/aarch64-sve-builtins-sve2.def (svrint32x): + Define new SVE function. + (svrint32z): Likewise. + (svrint64x): Likewise. + (svrint64z): Likewise. + * config/aarch64/aarch64-sve-builtins-sve2.h (svrint32x): Declare + new function base. + (svrint32z): Likewise. + (svrint64x): Likewise. + (svrint32z): Likewise. + * config/aarch64/aarch64-sve-builtins.cc (TYPES_sd_float): New + type set. + (sd_float): New SVE type array. + * config/aarch64/aarch64-sve2.md (@cond_<frintnzs_op><mode>): New + insn pattern. + +2026-05-29 Artemiy Volkov <[email protected]> + + * config/aarch64/aarch64-sve-builtins-base.cc (class svcvtnt_impl): + Remove. + (svcvtnt): Redefine using narrowing_top_convert. + * config/aarch64/aarch64-sve-builtins-functions.h + (class narrowing_top_convert): New SVE function base class. + (NARROWING_TOP_CONVERT0): New function-like macro for specializing + narrowing_top_convert. + (NARROWING_TOP_CONVERT1): Likewise. + * config/aarch64/aarch64-sve-builtins-sve2.cc (class svcvtxnt_impl): + Remove. + (svcvtxnt): Redefine using narrowing_top_convert. + * config/aarch64/aarch64-sve-builtins-sve2.def (svcvtlt): Allow + zeroing predication. + (svcvtnt): Likewise. + (svcvtxnt): Likewise. + * config/aarch64/aarch64-sve.md (@aarch64_sve_cvtnt<mode>): + Convert to compact syntax. Add operand 4 for values of + inactive lanes. New alternative for zeroing predication. + * config/aarch64/aarch64-sve2.md + (*cond_<sve_fp_op><mode>_relaxed): Convert to compact syntax. + New alternative for zeroing predication. + (*cond_<sve_fp_op><mode>_strict): Likewise. + (@aarch64_sve_cvtnt<mode>): Convert to compact syntax. Add + operand 4 for values of inactive lanes. New alternative for + zeroing predication. + +2026-05-29 Artemiy Volkov <[email protected]> + + * config/aarch64/aarch64-sve.md + (*cond_<optab>_nonextend<SVE_FULL_HSDI:mode><SVE_FULL_F:mode>_relaxed): + New alternative for zeroing predication. Add `arch` attribute + to every alternative. + (*cond_<optab>_nonextend<SVE_HSDI:mode><SVE_PARTIAL_F:mode>_relaxed): + Likewise. + (*cond_<optab>_nonextend<SVE_FULL_HSDI:mode><SVE_FULL_F:mode>_strict): + Likewise. + (*cond_<optab>_extend<VNx4SI_ONLY:mode><VNx2DF_ONLY:mode>): + Likewise. + (*cond_<optab>_trunc<SVE_FULL_SDF:mode><SVE_FULL_HSF:mode>): + Likewise. + (*cond_<optab>_trunc<SVE_SDF:mode><SVE_PARTIAL_HSF:mode>): + Likewise. + (*cond_<optab>_trunc<VNx4SF_ONLY:mode><VNx8BF_ONLY:mode>): + Likewise. + (*cond_<optab>_nontrunc<SVE_FULL_HSF:mode><SVE_FULL_SDF:mode>): + Likewise. + (*cond_<optab>_nontrunc<SVE_PARTIAL_HSF:mode><SVE_SDF:mode>_relaxed): + Likewise. + * config/aarch64/aarch64-sve2.md + (*cond_<sve_fp_op><mode>_any_relaxed): Likewise. + (*cond_<sve_fp_op><mode>_any_strict): Likewise. + +2026-05-29 Artemiy Volkov <[email protected]> + + * config/aarch64/aarch64-sve.md + (*cond_<optab>_nontrunc<SVE_FULL_F:mode><SVE_FULL_HSDI:mode>_relaxed): + New alternative for zeroing predication. Add `arch` attribute + to every alternative. + (*cond_<optab>_nontrunc<SVE_PARTIAL_F:mode><SVE_HSDI:mode>_relaxed): + Likewise. + (*cond_<optab>_nontrunc<SVE_FULL_F:mode><SVE_FULL_HSDI:mode>_strict): + Likewise. + (*cond_<optab>_trunc<VNx2DF_ONLY:mode><VNx4SI_ONLY:mode>): + Likewise. + (*cond_<optab>_trunc<VNx2DF_ONLY:mode><VNx2SI_ONLY:mode>_relaxed): + Likewise. + +2026-05-29 Artemiy Volkov <[email protected]> + + * config/aarch64/aarch64-sve.md (*cond_<optab><mode>_any_relaxed): + New alternative for zeroing predication. Add `arch` attribute + to every alternative. + (*cond_<optab><mode>_any_strict): Likewise. + * config/aarch64/aarch64-sve2.md (*cond_<sve_fp_op><mode>): + Likewise. + (*cond_<sve_fp_op><mode>_strict): Likewise. + +2026-05-29 Artemiy Volkov <[email protected]> + + * config/aarch64/aarch64-sve.md (@cond_<optab><mode>): + New alternative for zeroing predication. Add `arch` attribute + to every alternative. + * config/aarch64/aarch64-sve2.md (@aarch64_pred_<optab><mode>): + Use zeroing predication variant for PRED_X. + (@cond_<optab><mode>): Accept constant zero as operand 3. New + alternative for zeroing predication. Add `arch` attribute to + every alternative. + * config/aarch64/predicates.md (aarch64_simd_reg_or_direct_zero): + New predicate. + +2026-05-29 Artemiy Volkov <[email protected]> + + * config/aarch64/aarch64-sve.md + (@aarch64_cond_sxt<SVE_FULL_HSDI:mode><SVE_PARTIAL_I:mode>): + New alternative for zeroing predication. Add `arch` attribute + to every alternative. + (*cond_uxt<mode>_any): Likewise. + +2026-05-29 Artemiy Volkov <[email protected]> + + * config/aarch64/aarch64-sve.md (*cond_<optab><mode>_any): + New alternative for zeroing predication. Add `arch` attribute + to every alternative. + (*cond_cnot<mode>_any): Likewise. + * config/aarch64/aarch64-sve2.md: (*cond_<sve_int_op><mode>): + Likewise. + +2026-05-29 Artemiy Volkov <[email protected]> + + * config/aarch64/aarch64.h (TARGET_SVE2p2): New macro. + (TARGET_SME2p2): Likewise. + (TARGET_SVE2p2_OR_SME2p2): Likewise. + * config/aarch64/aarch64.md (arches): Add sve2p2_or_sme2p2 enum + constant. + (arch): Add test for sve2p2_or_sme2p2. + * doc/invoke.texi: Document sve2p2 and sme2p2 extensions. + +2026-05-29 LIU Hao <[email protected]> + + * config/i386/i386.cc (ix86_decompose_address): Add a special case where + there's no base, there's an index, and the scale is 1. + 2026-05-28 Roger Sayle <[email protected]> * tree-ssa-loop-im.cc (ref_always_accessed_p): Rename to... diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 24d57167af43..dcf9716c9740 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20260529 +20260530 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 4dfdfd12fc66..79622b62f23f 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,341 @@ +2026-05-29 Marc Poulhiès <[email protected]> + + * sysdep.c (getc_immediate_common): Read character as unsigned + value. + +2026-05-29 Bob Duff <[email protected]> + + * sem_ch13.adb (Delay_Aspect): Remove the side effect. + (Decorate): Rename to be Decorate_Aspect_Links. + Generalize. + (Insert_Aitem): Call Decorate_Aspect_Links. + * aspects.ads: Minor comment improvement: we don't need to worry; + we just need to do it. + * einfo.ads: Minor comment improvement. + +2026-05-29 Gary Dismukes <[email protected]> + + * sem_ch6.adb (New_Overloaded_Entity): Add missing call to + Check_For_Primitive_Subprogram (Is_Primitive must be set). + * sem_ch13.ads (Check_Function_For_Indexing_Aspect): Move declaration + to package body. + * sem_ch13.adb (Check_Indexing_Functions): Remove early return for + derived types. Pass appropriate values for the new Boolean parameters + on existing calls to Check_Function_For_Indexing_Aspect. Perform a + second interpretation loop, calling Check_Function_For_Indexing_Aspect + and passing Indexing_Found for the Has_Eligible_Func parameter and True + for the Error_On_Ineligible parameter, and remove the existing call + to Error_Msg_NE that was flagging nonlocal entities (a similar error + is now reported inside procedure Check_Function_For_Indexing_Aspect). + Suppress call to Check_Inherited_Indexing in derived type cases. + (Check_Nonoverridable_Aspect_Subprograms): Remove early return when + the aspect spec does not come from source, so aspects of derived types + will also go through this procedure. Check restrictions of AI22-0159/01 + for derived types and inheritance of aspects. Replace iteration over + overloaded interpretations with iteration over Aspect_Subprograms (and + only do that for indexing aspects). Condition Sloc for existing error + check for nonprimitive operations based on whether the aspect comes + from source, posting the error on the entity rather than the aspect + if the aspect is not given explicitly. + (Analyze_Aspects_At_Freeze_Point): Split off a new case alternative + for iterator aspects, and specialize treatment for indexing aspects + by forcing a search for new indexing functions. When none are found, + issue an error only in the case where the type has no inherited + indexing functions. Test that the version is at least Ada_2012 rather + than Ada_2022 for calling Check_Nonoverridable_Aspect_Subprograms. + (Check_Function_For_Indexing_Aspect): Move declaration from the package + spec to the body. Add Has_Eligible_Func and Error_On_Ineligible formals + and update spec comment. + Return early if the candidate subprogram was already inherited (present + in Aspect_Subprograms). + For a scope mismatch on Subp, report error only when Has_Eligible_Func + is False and Error_On_Ineligible is True (and never a warning). + Add "<<" in several calls to Report_Ineligible_Indexing_Function + (formerly Illegal_Indexing) to allow either warnings or errors. + Return without adding subprogram to Aspect_Subprograms when + Error_On_Ineligible is False. + (Report_Ineligible_Indexing_Function): Name changed from + Illegal_Indexing. + Return early when only a warning can be issued and the ineligible + subprogram is inherited, or if its first formal (if any) does not match + the aspect's associated type (to reduce false-positive warnings). + Set Error_Msg_Warn based on Error_On_Ineligible formal. + Report a continuation message identifying the ineligible entity. + Remove comment preceding body that has been obviated by AI22-0154. + * sem_util.adb (Inherit_Nonoverridable_Aspect): Remove the loop over + primitives that was checking and adding eligible primitives. That code + was incomplete, and collection of new indexing functions for derived + types is now handled by Check_Indexing_Functions. Also remove the + associated "???" comment. + +2026-05-29 Tonu Naks <[email protected]> + + * doc/gnat_rm.rst: update toctree + * doc/gnat_rm/about_this_guide.rst: add reference + * doc/gnat_rm/gnat_implementation_mode.rst: new file + * opt.ads: remove redundant comment + * gnat_rm.texi: Regenerate. + +2026-05-29 Marc Poulhiès <[email protected]> + + * doc/gnat_rm/gnat_language_extensions.rst (Destructors): fix + typo. + * gnat_rm.texi: Regenerate. + +2026-05-29 Ronan Desplanques <[email protected]> + + * argv.c: Remove unused include directive. + +2026-05-29 Viljar Indus <[email protected]> + + * erroutc.ads (Warnings_Suppressed): New Boolean overload. + * errout.adb (Error_Msg_Internal): Use Boolean Warnings_Suppressed. + * errutil.adb (Error_Msg): Likewise. + +2026-05-29 Viljar Indus <[email protected]> + + * errout.adb (Is_Before): New helper function. + (Find_Msg_Insertion_Point): New procedure. + (Error_Msg_Internal): Use Find_Msg_Insertion_Point and Insert_Error_Msg. + (Finalize): Remove call to Set_Prev_Pointers. + (Set_Prev_Pointers): Removed. + * erroutc.adb (Insert_Error_Msg): New procedure. + * erroutc.ads (Insert_Error_Msg): New declaration. + +2026-05-29 Andres Toom <[email protected]> + + * gnat1drv.adb (Adjust_Global_Switches): Do not set + Global_Discard_Names in GNATprove_Mode. + +2026-05-29 Ronan Desplanques <[email protected]> + + * argv.c (__gnat_env_count) (__gnat_len_env) (__gnat_fill_env): Move + to... + * env.c (__gnat_env_count) (__gnat_len_env) (__gnat_fill_env): + ...here. Tweak comment. + +2026-05-29 Bob Duff <[email protected]> + + * sem_ch6.adb (Subprogram_Subtypes_Have_Same_Declaration): + Remove tests for In_Internal_Unit and GNAT_Mode. + +2026-05-29 Marc Poulhiès <[email protected]> + + * vast.adb (Check_Enum)<Check_Entity_Chain>: Add. + (Status)<Check_Entity_Chain>: Set to Print_And_Continue. + (Check_Entity_Chain): New. + (Check_Scope): Call Check_Entity_Chain. + +2026-05-29 Viljar Indus <[email protected]> + + * errout.adb (Delete_Warning_And_Continuations): use + Delete_Error_And_Continuation_Msgs. + (Output_Messages): Call new refactored subprograms. + (Delete_Specifically_Suppressed_Warnings): New + procedure. + * (Set_Prev_Pointers): New procedure. + * (Finalize): use Delete_Specifically_Suppressed_Warnigns and + Set_Prev_Pointers. + (Finalize): use Delete_Error_And_Continuation_Msgs. + * erroutc.adb (Delete_Error_And_Continuation_Msgs): New procedure. + (Remove_Duplicate_Errors): New_Function. + (Write_All_Errors_In_Brief_Format): New function. + (Write_All_Errors_In_Verbose_Format): New function. + (Write_Error_Summary): New function. + * erroutc.ads (Delete_Error_And_Continuation_Msgs): Likewise. + (Remove_Duplicate_Errors): Likewise. + (Write_All_Errors_In_Brief_Format): Likewise. + (Write_All_Errors_In_Verbose_Format): Likewise. + (Write_Error_Summary): Likewise. + * errutil.adb (Finalize): Call new refactored subprograms. + +2026-05-29 Viljar Indus <[email protected]> + + * errout.adb (Remove_Warning_Messages): Use + Filter_And_Delete_Errors. + * errout.ads (Purge_Messages): Renamed to + Delete_Error_Msgs_In_Range. + * erroutc.adb (Filter_And_Delete_Errors): New procedure. + (Purge_Messages): Renamed to Delete_Error_Msgs_In_Range. + * erroutc.ads (Filter_And_Delete_Errors): New procedure. + (Purge_Messages): Renamed to Delete_Error_Msgs_In_Range. + * par-ch5.adb (Missing_Begin): call Delete_Error_Msgs_In_Range. + +2026-05-29 Viljar Indus <[email protected]> + + * errout.adb (Finalize): use Warning_Is_Suppressed. + * erroutc.adb (Warning_Is_Suppressed): New subprogram. + * erroutc.ads (Warning_Is_Suppressed): Likewise. + +2026-05-29 Viljar Indus <[email protected]> + + * errout.adb: Use Delete_Error_Msg. + * erroutc.adb (Delete_Error_Msg): New subprogram. + * erroutc.ads (Delete_Error_Msg): Likewise. + +2026-05-29 Eric Botcazou <[email protected]> + + * exp_unst.adb (Note_Uplevel_Bound_Trav): Do not register an uplevel + reference for a package. Use a single if_statement in the body. + +2026-05-29 Eric Botcazou <[email protected]> + + * sem_ch6.adb (Analyze_Function_Return): Remove obsolete code that + wraps the return in a block when the expression is an aggregate. + +2026-05-29 Viljar Indus <[email protected]> + + * errout.adb (Error_Msg): Add new function + In_Loop_With_Suppressed_Warnings. + +2026-05-29 Viljar Indus <[email protected]> + + * errout.adb (Error_Msg_N): Simplify code. + +2026-05-29 Viljar Indus <[email protected]> + + * erroutc-pretty_emitter.adb (To_String): Relocated to erroutc. + (To_File_Name): Likewise. + (Line_To_String): Likewise. + (Column_To_String): Likewise. + * erroutc.adb (dedit): New function for debugging edits. + (dfix): New function for debuging fixes. + (dloc): New function for debugging locations. + (dmsg): Print missing Error_Msg_Object attributes. + (To_String): New function for printing spans + (To_String): Relocated from erroutc-pretty_emitter.adb + (To_File_Name): Likewise. + * erroutc.ads: Likewise. + +2026-05-29 Ronan Desplanques <[email protected]> + + * argv-lynxos178-raven-cert.c: Update comments. + * argv.c (gnat_envp): Add comment about it being unused. + (__gnat_env_count, __gnat_len_env, __gnat_fill_env): Use + __gnat_environ instead of gnat_envp. + * bindgen.adb (Command_Line_Used): Update comment. + (Gen_Main): Remove gnat_envp assignment generation. Remove generated + envp parameter. + (Gen_Output_File_Ada): Remove generated envp parameter. + * env.h: Make usable as C++. + * libgnat/a-colien.ads: Remove comment. + * libgnat/a-comlin.ads: Update comment. + * targparm.ads: Update comment. + +2026-05-29 Piotr Trojanek <[email protected]> + + * par-ch10.adb (P_Compilation_Unit): Require no indentation. + +2026-05-29 Eric Botcazou <[email protected]> + + PR ada/93702 + * exp_ch3.adb (Make_Controlling_Function_Wrappers): Do not set the + Was_Expression_Function flag on the body. + * sem_ch6.adb (Analyze_Subprogram_Body_Helper): Avoid freezing the + profile only for wrapper functions. + +2026-05-29 Piotr Trojanek <[email protected]> + + * sprint.adb (Sprint_Node_Actual): Print filter in loop parameter + specification. + +2026-05-29 Piotr Trojanek <[email protected]> + + * sem_ch4.adb (Analyze_Quantified_Expression): If there is a filter, + then suppress the warning. + +2026-05-29 Piotr Trojanek <[email protected]> + + * sem_ch4.adb (Analyze_Quantified_Expression): Suppress warning for + trivial conditions. + +2026-05-29 Viljar Indus <[email protected]> + + * inline.adb (Adjust_Node): Renamed from Adjust_Sloc and + additionally unset Comes_From_Source. + +2026-05-29 Javier Miranda <[email protected]> + + * checks.adb (Apply_Scalar_Range_Check): When the type of the expression + is Universal Integer we cannot statically determine if the expression + is in the range of the target type. + * sem_eval.adb (In_Subrange_Of): Do not consider T2 in the range of + Universal Integer (since theoretically they are not). + (Test_In_Range): Do not consider Universal type expressions in range + of subtype Typ. + +2026-05-29 Marc Poulhiès <[email protected]> + + * treepr.ads (pech, rpech): New. + (Print_Entity_Chain): Adjust signature and comment to handle + printing only header and doing the simple check. + * treepr.adb (pech, rpech): New. + (Print_Entity_Chain): Support for printing only headers and doing + simple check. + +2026-05-29 Claire Dross <[email protected]> + + * sem_ch13.adb (Resolve_Iterable_Operation): Handle Previous and Last + like Next and First. + +2026-05-29 Claire Dross <[email protected]> + + * libgnat/i-cstrin.ads: New C_Addresses volatile state to use as + input of the New_String and New_Char_Array. + +2026-05-29 Eric Botcazou <[email protected]> + + * sem_util.adb (Statically_Names_Object) <N_Selected_Component>: + Return False if the selector is neither component nor discriminant. + +2026-05-29 Javier Miranda <[email protected]> + + * sem_ch3.adb (Build_Derived_Record_Type): Record type derivations + inherit Is_Unchecked_Union and Has_Unchecked_Union flags. + (Inherit_Component): Add discriminals to the associations list. + * exp_ch3.adb (Build_Record_Init_Proc): Derivations of Unchecked_Union + types don't need an initialization procedure; they reuse the init proc + of their parent type. + +2026-05-29 Eric Botcazou <[email protected]> + + * exp_ch4.adb (Expand_N_Case_Expression): Deal with initialization + expression of return object. + (Expand_N_If_Expression): Likewise. + (Insert_Conditional_Object_Declaration): Likewise. + * exp_util.adb (Is_Distributable_Declaration): Lift limitation for + return objects, including those with a class-wide type. + * sem_ch3.adb (Analyze_Object_Declaration): Set Return_Applies_To + on artificial return objects created from within a transient scope. + Remove test on Expander_Active for better error recovery. + +2026-05-29 Ronan Desplanques <[email protected]> + + * doc/gnat_ugn/building_executable_programs_with_gnat.rst: Fix + markup. + * gnat_ugn.texi: Regenerate. + +2026-05-29 Piotr Trojanek <[email protected]> + + * sem_ch4.adb (Analyze_Quantified_Expression): Suppress warning for + variables with junk names. + +2026-05-29 Viljar Indus <[email protected]> + + * inline.adb (Inline_Static_Function_Call): Reduce source code nesting. + * inline.ads (Inline_Static_Function_Call): Likewise. + +2026-05-29 Viljar Indus <[email protected]> + + * inline.adb (Inline_Static_Function_Call): Add a Source File Index + entry for the call and apply the necessary sloc adjustment values + for all of the inlined nodes. + +2026-05-29 Tonu Naks <[email protected]> + + * adaint.c (__gnat_copy_attribs): use GetFileAttributesEx to + to fetch attributes. + 2026-05-28 Sebastian Poeplau <[email protected]> * init.c (__gnat_alternate_stack): add alignment attribute. diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 251657eedcba..aced229943e4 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,9 @@ +2026-05-29 Tobias Burnus <[email protected]> + + PR c/122892 + * c-parser.cc (c_parser_omp_allocate): Reject + omp_{cgroup,pteam,thread}_mem_alloc for static variables. + 2026-05-25 Sam James <[email protected]> * c-parser.cc: Delete errant optimize pragma. diff --git a/gcc/cobol/ChangeLog b/gcc/cobol/ChangeLog index 97961460f45c..c8dfbcb2fc61 100644 --- a/gcc/cobol/ChangeLog +++ b/gcc/cobol/ChangeLog @@ -1,3 +1,136 @@ +2026-05-29 Robert Dubner <[email protected]> + James K. Lowden <[email protected]> + Xavier Del Campo <[email protected]> + + * Make-lang.in: Include gcobc script. + * cdf.y: Change formal parameters of cdf_literalize(). + * cobol1.cc (cobol_langhook_handle_option): Add OPT_ftrunc option. + * compare.cc (total_digits_tree): Remove debugging statements. + (float_compare): Likewise. + * copybook.h (class copybook_elem_t): Update conditional close(). + * dts.h: Change copyright notice. + * gcobc: Likewise. + * gcobol.1: Likewise. + * gcobol.3: Likewise. + * gcobolspec.cc (COMPAT_LIBRARY): POSIX compatibility. + (POSIX_LIBRARY): Likewise. + (lang_specific_driver): Likewise. + * genapi.cc (section_label): Missing LABEL_EXPR detection. + (paragraph_label): Likewise. + (internal_perform_through): Likewise. + (enter_program_common): Add comment. + (parser_enter_program): Change current_program_index() handling. + (build_alter_switch): Missing LABEL_EXPR detection. + (parser_display_internal): Handle REFER_T_ADDRESS_OF flag. + (create_and_call): ADDRESS OF is passed BY VALUE. + * gengen.cc (LOOK_FOR_MISSING_LABELS_not): Missing LABEL_EXPR + detection. + (dump_missing_labels): Likewise. + (gg_append_statement): Likewise. + (gg_struct_field_ref): Likewise. + (LABEL_ROOT): Likewise. + (gg_create_goto_pair): Likewise. + (scm_dump_generic_nodes): Forward declaration. + (gg_leaving_the_source_code_file): Missing LABEL_EXPR detection. + (label_decl_text_from_expr): New function. + * gengen.h (gg_create_assembler_name): New declaration. + (label_decl_text_from_expr): New declaration. + * genmath.cc (uchar_f_node): Fast ADD N TO NUMERIC-DISPLAY. + (uchar_ten_node): Likewise. + (fast_add): Likewise. + (fast_subtract): Likewise. + (parser_add): Likewise. + (add_floats): Likewise. + (ordinary_add_format_1): Likewise. + (ordinary_subtract_format_1): Likewise. + (add_case_1): Likewise. + (add_case_2): Likewise. + (add_case_3): Likewise. + (parser_multiply): Likewise. + (add_case_4): Likewise. + (add_litN_to_numdisp): Likewise. + (add_format_1): Likewise. + (add_format_2): Likewise. + (add_format_3): Likewise. + (subtract_floats): Likewise. + (subtract_format_1): Likewise. + (subtract_format_2): Likewise. + (subtract_format_3): Likewise. + (parser_subtract): Likewise. + * genutil.cc (refer_has_depends): False when type == FldIndex. + * lang-specs.h: Add fdefaultbyte, fstatic-call, ftrunc. + * lang.opt: Add ftrunc. + * lexio.cc (cdftext::open_input): Improved error message. + * parse.y: CDF support, POSIX support. + * parse_ante.h (cbl_division_t): Different enum. + (mode_syntax_only): New implementation of syntax_only. + (parse_error_inc): Likewise. + (resume_parsing): Likewise. + (successful_parse): Likewise. + (name_of): Formal parameter is now const. + (nice_name_of): Likewise. + (ast_op): Chanage formal parameters. + (prototype_ok): COBOL function prototypes. + (struct prototype_type_t): Likewise. + (is_allowed_name): Likewise. + (prototype_add): Likewise. + (prototype_args): Likewise. + (verify_args): Likewise. + (valid_pointer_relop): New function. + (field_value_all): Eliminate. + (current_field): COBOL function prototypes. + (ast_enter_exit_section): Improved error messages. + (data_division_ready): Improved mode_syntax_only. + (file_section_fd_set): Change "return false" to "return 0". + (ast_end_program): Improved mode_syntax_only. + * scan_ante.h (symbol_function_token): Use symbol_function_any(). + (symbol_exists): Change for() loop termination. + (typed_name): COBOL function prototypes. + * structs.cc: Support for buffered FILE READ. + * symbols.cc (symbol_field_location): Use field_locs[] map. + (symbol_table_extend): Likewise. + (is_prototypical): COBOL function prototypes. + (symbol_elem_cmp): Likewise. + (symbol_program): Likewise. + (struct symbol_elem_t): Likewise. + (symbol_function): Likewise. + (enum protoreq_t): Likewise. + (symbol_function_impl): Likewise. + (struct cbl_label_t): Likewise. + (symbol_function_any): Likewise. + (symbols_dump): Likewise. + (cbl_field_t::attr_str): Likewise. + (field_str): Likewise. + (symbols_update): Likewise. + (symbol_field_add): Likewise. + (symbol_field_same_as): Likewise. + (cbl_alphabet_t::reencode): Detect iconv() errors. + (symbol_program_add): COBOL function prototypes. + * symbols.h (enum dspc_t): Enum for Division, Section, Paragraph, + Clause. + (cbl_prototype_ok): COBOL function prototypes. + (valid_move): Handle strong typing. + (struct parameter_t): Improved function parameter handling. + (struct cbl_ffi_arg_t): Likewise. + (struct cbl_label_t): COBOL function prototypes. + (struct function_descr_t): Likewise. + (struct cbl_alphabet_t): Detect iconv() errors. + (struct cbl_file_t): Support for LINAGE and the like. + (prototype_args):COBOL function prototypes. + (is_prototypical):COBOL function prototypes. + (is_numeric): Refmods are not numeric. + (struct symbol_elem_t): Additional declarations. + * symfind.cc (update_symbol_map2): Use symbols map. + * token_names.h: New comment. + * util.cc (cbl_prototype_ok): COBOL function prototypes. + (cdf_literalize): New formal parameters. + (effective_type): New function. + (valid_move): Handle strong typing. + (cobol_trunc_binary): Handle new ftrunc option. + (parse_error_reset): Forward declaration. + (parse_file): Formatting. + * util.h (cobol_trunc_binary): New declaration. + 2026-05-28 Jonathan Wakely <[email protected]> PR cobol/125404 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 8454418e56c0..3305fe6ffa2f 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2026-05-29 Jakub Jelinek <[email protected]> + + * init.cc (build_value_init_noctor): Zero initialize anonymous + union/struct subobjects. Formatting fix. + 2026-05-28 Marek Polacek <[email protected]> PR c++/125454 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index e6392b01a146..280bd5606754 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,18 @@ +2026-05-29 Harald Anlauf <[email protected]> + + PR fortran/125393 + * interface.cc (get_expr_storage_size): Additionally return + character length. + (gfc_compare_actual_formal): When the formal is a scalar character + variable, use character lengths, not array storage size for check. + +2026-05-29 Tobias Burnus <[email protected]> + + PR c/122892 + * openmp.cc (gfc_resolve_omp_allocate): Reject + omp_{cgroup,pteam,thread}_mem_alloc also for local static + variables. + 2026-05-28 Sandra Loosemore <[email protected]> * intrinsic.texi (F_C_STRING): New section. diff --git a/gcc/rust/ChangeLog b/gcc/rust/ChangeLog index 10dcdb27a0c3..14949029f8bc 100644 --- a/gcc/rust/ChangeLog +++ b/gcc/rust/ChangeLog @@ -1,3 +1,9 @@ +2026-05-29 Marc Poulhiès <[email protected]> + Andreas Schwab <[email protected]> + + PR tree-optimization/114385 + * lex/rust-token.cc (Token::as_string): split concatenation. + 2026-04-14 jayant chauhan <[email protected]> * backend/rust-compile-item.cc (CompileItem::visit): Do not insert diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 187284dd5e5d..142900bed52e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,347 @@ +2026-05-29 Andrew Pinski <[email protected]> + + * gcc.dg/torture/pr125453-1.c: Add -w to the options. + +2026-05-29 Harald Anlauf <[email protected]> + + PR fortran/125393 + * gfortran.dg/argument_checking_28.f90: New test. + +2026-05-29 Robert Dubner <[email protected]> + James K. Lowden <[email protected]> + Xavier Del Campo <[email protected]> + + * cobol.dg/group2/37-digit_Initialization_of_fundamental_types.cob: + Updated compiler error message. + * cobol.dg/group2/BINARY_and_COMP-5.cob: + Likewise. + * cobol.dg/group2/Check_for_equality_of_COMP-1___COMP-2.cob: + Likewise. + * cobol.dg/group2/Multi-target_MOVE_with_subscript_re-evaluation.cob: + Likewise. + * cobol.dg/group2/Named_conditionals_-_fixed__float__and_alphabetic.cob: + Likewise. + * cobol.dg/group2/Simple_p-scaling.cob: + Likewise. + * cobol.dg/group2/access_to_OPTIONAL_LINKAGE_item_not_passed.cob: + Likewise. + * cobol.dg/group2/compare_national_to_display.cob: + Likewise. + * cobol.dg/group2/comprensive_compare_comp-1_comp-5.cob: + Likewise. + * cobol.dg/group2/CBL_ALLOC_MEM___CBL_FREE_MEM.cob: New test. + * cobol.dg/group2/CBL_ALLOC_MEM___CBL_FREE_MEM.out: New test. + * cobol.dg/group2/CBL_CHECK_FILE_EXIST.cob: New test. + * cobol.dg/group2/CBL_CHECK_FILE_EXIST.out: New test. + * cobol.dg/group2/CBL_CREATE_FILE___CBL_WRITE_FILE___CBL_CLOSE_FILE.cob: New test. + * cobol.dg/group2/CBL_DELETE_FILE.cob: New test. + * cobol.dg/group2/CBL_DELETE_FILE.out: New test. + * cobol.dg/group2/CBL_OPEN_FILE___CBL_CLOSE_FILE.cob: New test. + * cobol.dg/group2/CBL_OPEN_FILE___CBL_CLOSE_FILE.out: New test. + * cobol.dg/group2/CBL_OPEN_FILE___CBL_READ_FILE___CBL_CLOSE_FILE.cob: New test. + * cobol.dg/group2/CBL_OPEN_FILE___CBL_READ_FILE___CBL_CLOSE_FILE.out: New test. + * cobol.dg/group2/CBL_READ_FILE__check_file_size_with_flags___128.cob: New test. + * cobol.dg/group2/Complex_HEX__VALUE_and_MOVE_-_UTF-16.cob: New test. + * cobol.dg/group2/Complex_HEX__VALUE_and_MOVE_-_UTF-16.out: New test. + * cobol.dg/group2/MOVE_LEVEL_78.cob: New test. + * cobol.dg/group2/MOVE_LEVEL_78.out: New test. + * cobol.dg/group2/add_-1_to_negative_pic_S9999.cob: New test. + * cobol.dg/group2/add_-1_to_negative_pic_S9999.out: New test. + * cobol.dg/group2/add_-1_to_pic_9999.cob: New test. + * cobol.dg/group2/add_-1_to_pic_9999.out: New test. + * cobol.dg/group2/add_-1_to_positive_pic_S9999.cob: New test. + * cobol.dg/group2/add_-1_to_positive_pic_S9999.out: New test. + * cobol.dg/group2/add_1_to_pic_9999.cob: New test. + * cobol.dg/group2/add_1_to_pic_9999.out: New test. + * cobol.dg/group2/add_1_to_positive_pic_S9999.cob: New test. + * cobol.dg/group2/add_1_to_positive_pic_S9999.out: New test. + * cobol.dg/group2/add__1_to_negative_pic_S9999.cob: New test. + * cobol.dg/group2/add__1_to_negative_pic_S9999.out: New test. + * cobol.dg/group2/ambiguous_PERFORM.cob: New test. + * cobol.dg/group2/ambiguous_PERFORM.out: New test. + * cobol.dg/group2/cbltypes.cpy: New test. + * cobol.dg/group2/compare_float_to_other_types.cob: New test. + * cobol.dg/group2/compare_float_to_other_types.out: New test. + * cobol.dg/group2/move_numeric_to_alphanumeric.cob: New test. + * cobol.dg/group2/move_numeric_to_alphanumeric.out: New test. + +2026-05-29 Tobias Burnus <[email protected]> + + PR c/122892 + * gfortran.dg/gomp/allocate-static-3.f90: Modify to also + disallow local static variables. + * c-c++-common/gomp/allocate-20.c: New test. + +2026-05-29 Artemiy Volkov <[email protected]> + + * gcc.target/aarch64/pragma_cpp_predefs_3.c: Add SVE2p2 tests. + * gcc.target/aarch64/pragma_cpp_predefs_4.c: Add SME2p2 test. + +2026-05-29 Artemiy Volkov <[email protected]> + + * gcc.target/aarch64/sme2/acle-asm/mul_f16_x2.c: New test. + * gcc.target/aarch64/sme2/acle-asm/mul_f16_x4.c: Likewise. + * gcc.target/aarch64/sme2/acle-asm/mul_f32_x2.c: Likewise. + * gcc.target/aarch64/sme2/acle-asm/mul_f32_x4.c: Likewise. + * gcc.target/aarch64/sme2/acle-asm/mul_f64_x2.c: Likewise. + * gcc.target/aarch64/sme2/acle-asm/mul_f64_x4.c: Likewise. + +2026-05-29 Artemiy Volkov <[email protected]> + + * g++.target/aarch64/sve/aarch64-ssve.exp: Add sve2p2 to the + target string. Move svcompact from $nonstreaming_only to + $streaming_ok. + * gcc.target/aarch64/sve2/acle/asm/compact_bf16.c: New test. + * gcc.target/aarch64/sve2/acle/asm/compact_f32.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/compact_f64.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/compact_mf8.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/compact_s16.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/compact_s32.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/compact_s64.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/compact_s8.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/compact_u16.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/compact_u32.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/compact_u64.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/compact_u8.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/expand_bf16.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/expand_f32.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/expand_f64.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/expand_mf8.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/expand_s16.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/expand_s32.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/expand_s64.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/expand_s8.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/expand_u16.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/expand_u32.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/expand_u64.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/expand_u8.c: Likewise. + +2026-05-29 Artemiy Volkov <[email protected]> + + * gcc.target/aarch64/sve2/acle/asm/firstp_b16.c: New test. + * gcc.target/aarch64/sve2/acle/asm/firstp_b32.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/firstp_b64.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/firstp_b8.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/lastp_b16.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/lastp_b32.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/lastp_b64.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/lastp_b8.c: Likewise. + * gcc.target/aarch64/sve2/acle/general/firstp.c: Likewise. + * gcc.target/aarch64/sve2/acle/general/lastp.c: Likewise. + +2026-05-29 Artemiy Volkov <[email protected]> + + * gcc.target/aarch64/sve2/acle/asm/rint32x_f32.c: New test. + * gcc.target/aarch64/sve2/acle/asm/rint32x_f64.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rint32z_f32.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rint32z_f64.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rint64x_f32.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rint64x_f64.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rint64z_f32.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rint64z_f64.c: Likewise. + +2026-05-29 Artemiy Volkov <[email protected]> + + * gcc.target/aarch64/sve2/acle/asm/cvtlt_f32_z.c: New test. + * gcc.target/aarch64/sve2/acle/asm/cvtlt_f64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/cvtnt_bf16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/cvtnt_f16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/cvtnt_f32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/cvtxnt_f32_z.c: Likewise. + +2026-05-29 Artemiy Volkov <[email protected]> + + * gcc.target/aarch64/sve2/acle/asm/cvt_bf16_z.c: New test. + * gcc.target/aarch64/sve2/acle/asm/cvt_f16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/cvt_f32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/cvt_f64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/cvtx_f32_z.c: Likewise. + +2026-05-29 Artemiy Volkov <[email protected]> + + * gcc.target/aarch64/sve2/acle/asm/cvt_s16_z.c: New test. + * gcc.target/aarch64/sve2/acle/asm/cvt_s32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/cvt_s64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/cvt_u16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/cvt_u32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/cvt_u64_z.c: Likewise. + +2026-05-29 Artemiy Volkov <[email protected]> + + * gcc.target/aarch64/sve2/acle/asm/abs_f16_z.c: New test. + * gcc.target/aarch64/sve2/acle/asm/abs_f32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/abs_f64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/logb_f16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/logb_f32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/logb_f64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/neg_f16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/neg_f32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/neg_f64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/recpx_f16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/recpx_f32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/recpx_f64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rinta_f16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rinta_f32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rinta_f64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rinti_f16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rinti_f32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rinti_f64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rintm_f16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rintm_f32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rintm_f64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rintn_f16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rintn_f32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rintn_f64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rintp_f16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rintp_f32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rintp_f64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rintx_f16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rintx_f32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rintx_f64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rintz_f16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rintz_f32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rintz_f64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/sqrt_f16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/sqrt_f32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/sqrt_f64_z.c: Likewise. + +2026-05-29 Artemiy Volkov <[email protected]> + + * gcc.target/aarch64/sve2/acle/asm/revb_s16_z.c: New test. + * gcc.target/aarch64/sve2/acle/asm/revb_s32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/revb_s64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/revb_u16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/revb_u32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/revb_u64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/revd_bf16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/revd_f16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/revd_f32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/revd_f64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/revd_s16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/revd_s32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/revd_s64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/revd_s8_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/revd_u16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/revd_u32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/revd_u64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/revd_u8_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/revh_s32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/revh_s64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/revh_u32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/revh_u64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/revw_s64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/revw_u64_z.c: Likewise. + +2026-05-29 Artemiy Volkov <[email protected]> + + * gcc.target/aarch64/sve2/acle/asm/extb_s16_z.c: New test. + * gcc.target/aarch64/sve2/acle/asm/extb_s32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/extb_s64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/extb_u16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/extb_u32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/extb_u64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/exth_s32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/exth_s64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/exth_u32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/exth_u64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/extw_s64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/extw_u64_z.c: Likewise. + +2026-05-29 Artemiy Volkov <[email protected]> + + * gcc.target/aarch64/sve2/acle/asm/abs_s16_z.c: New test. + * gcc.target/aarch64/sve2/acle/asm/abs_s32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/abs_s64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/abs_s8_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/cls_s16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/cls_s32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/cls_s64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/cls_s8_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/clz_s16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/clz_s32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/clz_s64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/clz_s8_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/clz_u16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/clz_u32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/clz_u64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/clz_u8_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/cnot_s16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/cnot_s32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/cnot_s64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/cnot_s8_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/cnot_u16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/cnot_u32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/cnot_u64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/cnot_u8_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/cnt_s16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/cnt_s32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/cnt_s64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/cnt_s8_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/cnt_u16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/cnt_u32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/cnt_u64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/cnt_u8_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/neg_s16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/neg_s32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/neg_s64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/neg_s8_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/not_s16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/not_s32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/not_s64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/not_s8_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/not_u16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/not_u32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/not_u64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/not_u8_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/qabs_s16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/qabs_s32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/qabs_s64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/qabs_s8_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/qneg_s16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/qneg_s32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/qneg_s64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/qneg_s8_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rbit_s16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rbit_s32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rbit_s64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rbit_s8_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rbit_u16_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rbit_u32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rbit_u64_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rbit_u8_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/recpe_u32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/rsqrte_u32_z.c: Likewise. + * gcc.target/aarch64/sve2/acle/asm/cnt_bf16_z.c: New file. + * gcc.target/aarch64/sve2/acle/asm/cnt_f16_z.c: New file. + * gcc.target/aarch64/sve2/acle/asm/cnt_f32_z.c: New file. + * gcc.target/aarch64/sve2/acle/asm/cnt_f64_z.c: New file. + +2026-05-29 Artemiy Volkov <[email protected]> + + * lib/target-supports.exp + (check_effective_target_aarch64_sve2p2_hw): New target check. + (check_effective_target_aarch64_sve2p2_ok): New target check. + (exts_sve2): Add sme2p2. + +2026-05-29 LIU Hao <[email protected]> + + * gcc.target/i386/rewrite-sib-without-base.c: New test. + +2026-05-29 Roger Sayle <[email protected]> + + * gcc.target/i386/sse2-paddb-2.c: Support -march=cascadelake. + * gcc.target/i386/sse2-paddd-2.c: Likewise. + * gcc.target/i386/sse2-paddw-2.c: Likewise. + * gcc.target/i386/sse2-psubb-2.c: Likewise. + * gcc.target/i386/sse2-psubd-2.c: Likewise. + * gcc.target/i386/sse2-psubw-2.c: Likewise. + +2026-05-29 H.J. Lu <[email protected]> + + PR testsuite/125489 + * gcc.dg/vect/complex/bb-slp-complex-mla-half-float.c: Add the + missing end brace. + 2026-05-28 Sandra Loosemore <[email protected]> * gfortran.dg/f_c_string3.f90: New. diff --git a/include/ChangeLog b/include/ChangeLog index 99f84263f479..cf30c2edbe5f 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,11 @@ +2026-05-29 Tobias Burnus <[email protected]> + + PR c/122892 + * gomp-constants.h (GOMP_OMP_PREDEF_ALLOC_THREADS): Rename to ... + (GOMP_OMP_PREDEF_ALLOC_THREAD): ... this. + (GOMP_OMP_PREDEF_ALLOC_CGROUP, GOMP_OMP_PREDEF_ALLOC_PTEAM): Define + with the value of omp_{cgroup,pteam}_mem_alloc + 2026-02-05 Matthieu Longo <[email protected]> * doubly-linked-list.h diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 6aee23b12bfc..854972c18818 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,16 @@ +2026-05-29 Rainer Orth <[email protected]> + + * config.host <i[34567]86-*-freebsd*> (tmake_file): Add + i386/t-msabi. + <x86_64-*-freebsd*>: Likewise. + * config/i386/i386-asm.h: Update comment. + * config/i386/resms64.h: Use .note.GNU-stack on FreeBSD, too. + * config/i386/resms64f.h: Likewise. + * config/i386/resms64fx.h: Likewise. + * config/i386/resms64x.h: Likewise. + * config/i386/savms64.h: Likewise. + * config/i386/savms64f.h: Likewise. + 2026-05-21 Christoph Müllner <[email protected]> * config/riscv/feature_bits.c (ZICFISS_GROUPID, diff --git a/libgcobol/ChangeLog b/libgcobol/ChangeLog index 94e1e7b72de4..264bb3b55d23 100644 --- a/libgcobol/ChangeLog +++ b/libgcobol/ChangeLog @@ -1,3 +1,124 @@ +2026-05-29 Robert Dubner <[email protected]> + James K. Lowden <[email protected]> + Xavier Del Campo <[email protected]> + + * Makefile.am: Add AM_COBC and AM_COBFLAGS; update + toolexeclib_LTLIBRARIES with libgcobol_posix.la and + libgcobol_compat_gnu.la. + * Makefile.in: POSIX compatibility support. + * aclocal.m4: Regenerate. + * charmaps.cc (__gg__iconverter): Restore map of encoding pairs. + (__gg__get_charmap): Change how encodings are mapped. + * charmaps.h (CHARMAPS_H): Include #include <map>. + (DEFAULT_32_ENCODING): Wrap in __FreeBSD__ conditional. + (error_msg_direct): Wrap in IN_TARGET_LIBS. + (class cbl_iconv_t): Wrapper for iconv() calls. + (class charmap_t): Explicit constructor. + * compat/README.md: POSIX compatibility layer. + * compat/gnu/lib/CBL_ALLOC_MEM.cbl: Likewise. + * compat/gnu/lib/CBL_CHECK_FILE_EXIST.cbl: Likewise. + * compat/gnu/lib/CBL_DELETE_FILE.cbl: Likewise. + * compat/gnu/lib/CBL_FREE_MEM.cbl: Likewise. + * compat/gnu/udf/stored-char-length.cbl: Likewise. + * compat/t/Makefile: Likewise. + * compat/t/smoke.cbl: Likewise. + * configure: Regenerate. + * configure.ac: New macros + * configure.tgt: Likewise. + * ec.h (enum ec_type_t): New implementor-defined ec_imp_iconv_open_e + exception. + * encodings.h (_ENCODINGS_H_): #include <type_traits> for mapping + the cbl_encoding_t values. + (struct cbl_encoding_t_hash): Likewise. + * exceptl.h (ec_type_of): Remove "extern" from declaration. + * gcobolio.h (FILE_BUFFER_SIZE): READ FILE buffer size. + * gfileio.cc (sequential_file_write): Honor non-ascii encodings. + (line_sequential_file_read): Buffered FILE READ. + (line_sequential_file_read_sbc): Buffered FILE READ. + * intrinsic.cc (string_to_dest): Eliminate function. + (get_all_time): Replace __gg__convert_encoding() with + __gg__iconverter(). + (__gg__when_compiled): Likewise. + * io.cc (__compat_file_status_word): POSIX compatibility layer. + * io.h (enum file_high_t): Likewise. + (enum file_status_t): Likewise. + * libgcobol.cc (init_var_both): Eliminate call to + initialize_program_state(). + (__gg__move): Eliminate call to __gg__convert_encoding_length; + handle REFER_T_ADDRESS_OF. + (display_both): Handle REFER_T_ADDRESS_OF. + (__gg__display_clean): Likewise. + (__gg__convert_encoding): Eliminate function. + (__gg__convert_encoding_length): Likewise. + (default_exception_handler): Improve exception handling. + (ec_type_descr): Likewise. + (ec_type_disposition): Likewise. + (ec_is_fatal): Likewise. + (__gg__check_fatal_exception): Likewise. + (__gg__set_env_value): Remove call to __gg__convert_encoding. + * libgcobol.h (__gg__convert_encoding): Eliminate. + (__gg__convert_encoding_length): Eliminate. + * posix/bin/udf-gen: POSIX compatibility. + * posix/cpy/posix-errno.cbl: Likewise. + * posix/cpy/psx-lseek.cpy: Likewise. + * posix/cpy/psx-open.cpy: Likewise. + * posix/cpy/statbuf.cpy: Likewise. + * posix/cpy/tm.cpy: Likewise. + * posix/shim/lseek.cc (offsetof): Likewise. + (posix_lseek): Likewise. + * posix/shim/open.cc (posix_open): Likewise. + * posix/t/errno.cbl: Likewise. + * posix/t/exit.cbl: Likewise. + * posix/t/localtime.cbl: Likewise. + * posix/t/stat.cbl: Likewise. + * posix/udf/posix-exit.cbl: Likewise. + * posix/udf/posix-ftruncate.cbl: Likewise. + * posix/udf/posix-localtime.cbl: Likewise. + * posix/udf/posix-lseek.cbl: Likewise. + * posix/udf/posix-mkdir.cbl: Likewise. + * posix/udf/posix-open.cbl: Likewise. + * posix/udf/posix-read.cbl: Likewise. + * posix/udf/posix-stat.cbl: Likewise. + * posix/udf/posix-unlink.cbl: Likewise. + * posix/udf/posix-write.cbl: Likewise. + * valconv.cc: New exceptions. + * compat/gnu/cpy/cblproto.cpy: New file. + * compat/gnu/cpy/cbltypes.cpy: New file. + * compat/gnu/cpy/stored-char-length.cpy: New file. + * compat/gnu/lib/CBL_CLOSE_FILE.cbl: New file. + * compat/gnu/lib/CBL_CREATE_FILE.cbl: New file. + * compat/gnu/lib/CBL_OPEN_FILE.cbl: New file. + * compat/gnu/lib/CBL_READ_FILE.cbl: New file. + * compat/gnu/lib/CBL_WRITE_FILE.cbl: New file. + * compat/gnu/lib/cbl_alloc_mem.3: New file. + * compat/gnu/lib/cbl_alloc_mem.cbl3: New file. + * compat/gnu/lib/cbl_check_file_exist.3: New file. + * compat/gnu/lib/cbl_close_file.3: New file. + * compat/gnu/lib/cbl_create_file.3: New file. + * compat/gnu/lib/cbl_delete_file.3: New file. + * compat/gnu/lib/cbl_free_mem.3: New file. + * compat/gnu/lib/cbl_open_file.3: New file. + * compat/gnu/lib/cbl_read_file.3: New file. + * compat/gnu/lib/cbl_write_file.3: New file. + * compat/gnu/udf/cobrt-file-status.cbl: New file. + * posix/cpy/posix-close.cpy: New file. + * posix/cpy/posix-errno.cpy: New file. + * posix/cpy/posix-exit.cpy: New file. + * posix/cpy/posix-fstat.cpy: New file. + * posix/cpy/posix-ftruncate.cpy: New file. + * posix/cpy/posix-localtime.cpy: New file. + * posix/cpy/posix-lseek.cpy: New file. + * posix/cpy/posix-mkdir.cpy: New file. + * posix/cpy/posix-open.cpy: New file. + * posix/cpy/posix-read.cpy: New file. + * posix/cpy/posix-stat.cpy: New file. + * posix/cpy/posix-unlink.cpy: New file. + * posix/cpy/posix-write.cpy: New file. + * posix/shim/fstat.cc: New file. + * posix/udf/posix-close.cbl: New file. + * posix/udf/posix-errno.cbl: New file. + * posix/udf/posix-fstat.cbl: New file. + 2026-05-12 Robert Dubner <[email protected]> * charmaps.h (class charmap_t): Remove an abort(). diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 033fea9e404f..23f4235159a6 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,8 @@ +2026-05-29 Peter Damianov <[email protected]> + + * caf/shmem/shared_memory.c (shared_memory_init): Use + MapViewOfFileEx instead of MapViewOfFileExNuma. + 2026-05-28 Jerry DeLisle <[email protected]> PR fortran/93727 diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index e7eab76bfe88..0743a251d5f6 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,9 @@ +2026-05-29 Tobias Burnus <[email protected]> + + PR c/122892 + * allocator.c (_Static_assert): Add asserts for the values of + GOMP_OMP_PREDEF_ALLOC_CGROUP and GOMP_OMP_PREDEF_ALLOC_PTEAM. + 2026-05-27 Tobias Burnus <[email protected]> * libgomp.texi (Foreign-runtime support for AMD GPUs, diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 28c2c72fbf7a..605d241a613c 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,16 @@ +2026-05-29 Patrick Palka <[email protected]> + + * include/std/flat_set (_Flat_set_impl::swap): Swap _M_cont + first. + +2026-05-29 Nathan Myers <[email protected]> + + * include/bits/new_allocator.h (allocate_at_least): Reduce + allocation to match what is reported. + * testsuite/20_util/allocator/allocate_at_least2.cc: Add tests. + * testsuite/23_containers/vector/modifiers/insert_vs_emplace.cc: + Fix, for -m32 and new allocation results. + 2026-05-28 Patrick Palka <[email protected]> * testsuite/util/testsuite_allocator.h
