]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Wed, 8 Nov 2023 00:17:35 +0000 (00:17 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Wed, 8 Nov 2023 00:17:35 +0000 (00:17 +0000)
14 files changed:
gcc/ChangeLog
gcc/DATESTAMP
gcc/ada/ChangeLog
gcc/c-family/ChangeLog
gcc/c/ChangeLog
gcc/cp/ChangeLog
gcc/fortran/ChangeLog
gcc/lto/ChangeLog
gcc/testsuite/ChangeLog
include/ChangeLog
libcpp/ChangeLog
libgcc/ChangeLog
libgomp/ChangeLog
libstdc++-v3/ChangeLog

index 9df8fdceb2602cb86ecfdbbc54974320f6f54988..f07d1447b217f70948d3de690f12c8a14edf5069 100644 (file)
@@ -1,3 +1,117 @@
+2023-11-07  Pan Li  <pan2.li@intel.com>
+
+       * config/riscv/autovec.md: Remove the size check of lfloor.
+       * config/riscv/riscv-v.cc (expand_vec_lfloor): Leverage
+       emit_vec_rounding_to_integer for floor.
+
+2023-11-07  Robin Dapp  <rdapp@ventanamicro.com>
+
+       PR tree-optimization/112361
+       PR target/112359
+       PR middle-end/112406
+       * tree-if-conv.cc (convert_scalar_cond_reduction): Remember if
+       loop was versioned and only then create COND_OPs.
+       (predicate_scalar_phi): Do not create COND_OP when not
+       vectorizing.
+       * tree-vect-loop.cc (vect_expand_fold_left): Re-create
+       VEC_COND_EXPR.
+       (vectorize_fold_left_reduction): Pass mask to
+       vect_expand_fold_left.
+
+2023-11-07  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/predicates.md ("flags_reg_operand"):
+       Make predicate special to avoid automatic mode checks.
+
+2023-11-07  Martin Jambor  <mjambor@suse.cz>
+
+       * configure: Regenerate.
+
+2023-11-07  Kwok Cheung Yeung  <kcy@codesourcery.com>
+
+       * lto-cgraph.cc (enum LTO_symtab_tags): Add tag for indirect
+       functions.
+       (output_offload_tables): Write indirect functions.
+       (input_offload_tables): read indirect functions.
+       * lto-section-names.h (OFFLOAD_IND_FUNC_TABLE_SECTION_NAME): New.
+       * omp-builtins.def (BUILT_IN_GOMP_TARGET_MAP_INDIRECT_PTR): New.
+       * omp-offload.cc (offload_ind_funcs): New.
+       (omp_discover_implicit_declare_target): Add functions marked with
+       'omp declare target indirect' to indirect functions list.
+       (omp_finish_file): Add indirect functions to section for offload
+       indirect functions.
+       (execute_omp_device_lower): Redirect indirect calls on target by
+       passing function pointer to BUILT_IN_GOMP_TARGET_MAP_INDIRECT_PTR.
+       (pass_omp_device_lower::gate): Run pass_omp_device_lower if
+       indirect functions are present on an accelerator device.
+       * omp-offload.h (offload_ind_funcs): New.
+       * tree-core.h (omp_clause_code): Add OMP_CLAUSE_INDIRECT.
+       * tree.cc (omp_clause_num_ops): Add entry for OMP_CLAUSE_INDIRECT.
+       (omp_clause_code_name): Likewise.
+       * tree.h (OMP_CLAUSE_INDIRECT_EXPR): New.
+       * config/gcn/mkoffload.cc (process_asm): Process offload_ind_funcs
+       section.  Count number of indirect functions.
+       (process_obj): Emit number of indirect functions.
+       * config/nvptx/mkoffload.cc (ind_func_ids, ind_funcs_tail): New.
+       (process): Emit offload_ind_func_table in PTX code.  Emit indirect
+       function names and count in image.
+       * config/nvptx/nvptx.cc (nvptx_record_offload_symbol): Mark
+       indirect functions in PTX code with IND_FUNC_MAP.
+
+2023-11-07  Tobias Burnus  <tobias@codesourcery.com>
+
+       * doc/invoke.texi (-fopenmp, -fopenmp-simd): Adjust wording for
+       attribute syntax supported also in C.
+
+2023-11-07  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * config/aarch64/aarch64.cc (aarch64_print_operand): Add a %Z
+       modifier for SVE registers.
+
+2023-11-07  Joseph Myers  <joseph@codesourcery.com>
+
+       * builtins.def (DEF_C2X_BUILTIN): Rename to DEF_C23_BUILTIN and
+       use flag_isoc23 and function_c23_misc.
+       * config/rl78/rl78.cc (rl78_option_override): Compare
+       lang_hooks.name with "GNU C23" not "GNU C2X".
+       * coretypes.h (function_c2x_misc): Rename to function_c23_misc.
+       * doc/cpp.texi (@code{__has_attribute}): Refer to C23 instead of
+       C2x.
+       * doc/extend.texi: Likewise.
+       * doc/invoke.texi: Likewise.
+       * dwarf2out.cc (highest_c_language, gen_compile_unit_die): Compare
+       against and return "GNU C23" language string instead of "GNU C2X".
+       * ginclude/float.h: Refer to C23 instead of C2X in comments.
+       * ginclude/stdint-gcc.h: Likewise.
+       * glimits.h: Likewise.
+       * tree.h: Likewise.
+
+2023-11-07  Alexandre Oliva  <oliva@adacore.com>
+
+       * doc/sourcebuild.texi (opt_mstrict_align): New target.
+
+2023-11-07  Lehua Ding  <lehua.ding@rivai.ai>
+
+       * config/riscv/autovec-opt.md (*cond_len_<optab><v_double_trunc><mode>):
+       New combine pattern.
+       (*cond_len_<optab><v_quad_trunc><mode>): Ditto.
+       (*cond_len_<optab><v_oct_trunc><mode>): Ditto.
+       (*cond_len_extend<v_double_trunc><mode>): Ditto.
+       (*cond_len_widen_reduc_plus_scal_<mode>): Ditto.
+
+2023-11-07  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
+
+       PR target/112399
+       * config/riscv/riscv-avlprop.cc
+       (pass_avlprop::get_vlmax_ta_preferred_avl): Enhance AVL propagation.
+       * config/riscv/t-riscv: Add new include.
+
+2023-11-07  Pan Li  <pan2.li@intel.com>
+
+       * config/riscv/autovec.md: Remove the size check of lceil.l
+       * config/riscv/riscv-v.cc (expand_vec_lceil):  Leverage
+       emit_vec_rounding_to_integer for ceil.
+
 2023-11-06  John David Anglin  <danglin@gcc.gnu.org>
 
        * config/pa/pa.cc (pa_asm_trampoline_template): Fix typo.
index 25d2f71097a77f0df184609994b6140c79a19977..6e86c0eb53236be975c594e3f7c3b321e9abe905 100644 (file)
@@ -1 +1 @@
-20231107
+20231108
index bedbc5d58f9121cb63fea79987c81e169f787b02..968f6f7f44fd2d7b441cc347a2ec4b6e3b010fb7 100644 (file)
@@ -1,3 +1,389 @@
+2023-11-07  Joseph Myers  <joseph@codesourcery.com>
+
+       * gcc-interface/utils.cc (flag_isoc2x): Rename to flag_isoc23.
+
+2023-11-07  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gcc-interface/decl.cc (gnat_to_gnu_entity) <E_Variable>: Apply the
+       specific rewriting done for an aliased object with an unconstrained
+       array nominal subtype in the renaming case too.
+
+2023-11-07  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gcc-interface/trans.cc (gnat_gimplify_expr) <CALL_EXPR>: Delete.
+
+2023-11-07  Bob Duff  <duff@adacore.com>
+
+       * sem_ch13.ads (Set_Enum_Esize): Do not set alignment.
+       * sem_ch13.adb (Set_Enum_Esize): Do not set alignment. Archaeology
+       seems to show that this line of code dates from when "Alignment =
+       0" meant "the Alignment is not known at compile time" and "the
+       Alignment is not yet known at compile time" as well as "the
+       Alignment is zero". In any case, it seems to be unnecessary, and
+       in this case harmful, because gigi would crash. Alignment_Clause
+       is set (because there is one), so gigi would query the Alignment,
+       but Alignment was destroyed.
+
+2023-11-07  Julien Bortolussi  <bortolussi@adacore.com>
+
+       * doc/share/conf.py: Changed the background color and the logo.
+
+2023-11-07  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gen_il-fields.ads (Opt_Field_Enum): Add Compare_Type.
+       * gen_il-gen-gen_nodes.adb (N_Op_Eq): Likewise.
+       (N_Op_Ge): Likewise.
+       (N_Op_Gt): Likewise.
+       (N_Op_Le): Likewise.
+       (N_Op_Lt): Likewise.
+       (N_Op_Ne): Likewise.
+       * sinfo.ads (Compare_Type): Document new field.
+       * sem_ch4.adb (Analyze_Comparison_Equality_Op): If the entity is
+       already present, set the Compare_Type on overloaded operands if it
+       is present on the node.
+       * sem_ch12.adb (Check_Private_View): Look into the Compare_Type
+       instead of the Etype for comparison operators.
+       (Copy_Generic_Node): Remove obsolete code for comparison
+       operators.
+       (Save_Global_References.Save_References): Do not walk into the
+       descendants of N_Implicit_Label_Declaration nodes.
+       (Save_Global_References.Set_Global_Type): Look into the
+       Compare_Type instead of the Etype for comparison operators.
+       * sem_res.adb (Resolve_Comparison_Op): Set Compare_Type.
+       (Resolve_Equality_Op): Likewise.
+
+2023-11-07  Ronan Desplanques  <desplanques@adacore.com>
+
+       * adaint.c (__gnat_file_time): Fix Windows version.
+
+2023-11-07  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * exp_ch3.adb (Expand_N_Object_Declaration): Fold initialization
+       expression of Nominal_Subtype_Is_Constrained_Array constant into
+       the computation of Rewrite_As_Renaming and remove the constant.
+       Set it to True for an aliased array with unconstrained nominal
+       subtype if the subtype of the expression is also unconstrained.
+
+2023-11-07  Piotr Trojanek  <trojanek@adacore.com>
+
+       * exp_util.adb (Add_Own_DIC, Add_Own_Invariants): Store the aspect
+       expression in Expression_Copy.
+
+2023-11-07  Yannick Moy  <moy@adacore.com>
+
+       * exp_aggr.adb: Apply the renaming.
+       * exp_ch3.adb: Same.
+       * exp_ch4.adb: Same.
+       * exp_ch6.adb: Same.
+       * exp_ch7.adb: Same.
+       * exp_util.adb: Same.
+       * freeze.adb: Same.
+       * sem_aggr.adb: Same.
+       * sem_attr.adb: Same.
+       * sem_aux.adb: Alphabetize Is_Limited_Type. Rename.
+       * sem_aux.ads: Same.
+       * sem_ch3.adb: Apply the renaming.
+       * sem_ch6.adb: Same.
+       * sem_ch8.adb: Same.
+       * sem_prag.adb: Same.
+       * sem_res.adb: Same.
+       * sem_util.adb: Same.
+
+2023-11-07  Viljar Indus  <indus@adacore.com>
+
+       * aspects.adb (Exchange_Aspects): Removed. This method was
+       typically called after a Rewrite method. Now since the Rewrite
+       switches the aspects between the new and the old node it is no
+       longer needed.
+       (Has_Aspects): Converted to a utility method that performs the same
+       before as the previous Has_Aspects field did. Meaning it shows whether
+       a node actually has aspects or not.
+       (Copy_Aspects): New utility method that performs a deep copy of the
+       From nodes aspects.
+       (Aspect_Specfications): Removed. No longer needed. Replaced
+       by the primitive operation for the Aspect_Specification fields.
+       (Set_Aspect_Specifications): Likewise.
+       (Aspect_Specifications_Hash_Table): Remove the table and all the
+       utility methods for storing the old aspects.
+       * aspects.ads: Likewise.
+       * atree.adb (Copy_Separate_Tree): Remove custom code for aspects.
+       (New_Copy): Likewise.
+       (Replace): Likewise.
+       (Rewrite): Likewise.
+       * exp_ch3.adb (Expand_N_Object_Declaration): Keep the aspects from the old node.
+       * exp_ch6.adb (Validate_Subprogram_Calls): Previously aspects were ignored
+       because they were not on the tree. Explicitly ignore them here
+       when traversing the tree.
+       * exp_unst.adb (Build_Tables): Likewise
+       * gen_il-fields.ads: Remove Has_Aspects and add
+       Aspect_Specifications fields.
+       * gen_il-gen-gen_nodes.adb: Add Aspect_Specification fields
+       for all nodes that can have aspects. Additionally add
+       Expression_Copy for Aspect_Speficiations to avoid reusing
+       the Associated_Node for generic instantiation and aspect
+       analysis.
+       * ghost.adb (Remove_Ignored_Ghost_Node): Remove call to Remove_Aspects.
+       The rewritten node is a Null_Statement that cannot have aspects
+       and there is not anything to gain from removing them from the
+       Orignal_Node of N since it technically is not part of the active
+       tree.
+       * inline.adb (Process_Formals_In_Aspects): Simplify code for node traversal.
+       * par-ch13.adb: Avoid setting the parent explicitly for the
+       Aspect_Specifications list. This is done explicitly in the setter.
+       * par-ch6.adb: Likewise.
+       * par_sco.adb (Traverse_Aspects): Handle early return.
+       * sem_ch10.adb: Simplify code for Analyze_Aspect_Specifications.
+       * sem_ch11.adb: Likewise.
+       * sem_ch12.adb (Analyze_Formal_Derived_Interface_Type): Keep the aspects from
+       the orignal node after rewrite.
+       (Analyze_Formal_Derived_Type): Likewise.
+       (Analyze_Formal_Interface_Type): Likewise.
+       (Analyze_Formal_Object_Declaration): Simplify code for
+       Analyze_Aspect_Specifications.
+       (Analyze_Formal_Package_Declaration): Likewise.
+       (Analyze_Formal_Subprogram_Declaration): Likewise.
+       (Analyze_Formal_Type_Declaration): Likewise.
+       (Analyze_Generic_Package_Declaration): Remove Exchange_Aspects.
+       The new node already has the correct aspects after the rewrite.
+       Also simplify code for Analyze_Aspect_Specifications.
+       (Analyze_Generic_Subprogram_Declaration): Likewise.
+       (Analyze_Package_Instantiation): Simplify code for
+       Analyze_Aspect_Specifications.
+       (Build_Instance_Compilation_Unit_Nodes): Remove explicit copy of
+       aspects that is no longer needed.
+       (Save_References): Update the traversal code to handle
+       Aspect_Specifications in the tree.
+       (Copy_Generic_Node): Remove explicit copy for aspects. New_Copy
+       took care of that already.
+       * sem_ch13.adb (Analyze_Aspect_Specifications): Add early return to simplify
+       code for its calls. Avoid reusing the Entity(Associated_Node)
+       field for storing the original expression. Instead use the
+       new Expression_Copy field since Entity(Associated_Node) is
+       also used in generic instantiation.
+       (Analyze_Aspects_On_Subprogram_Body_Or_Stub): Simlify call
+       to Analyze_Aspect_Specifications.
+       (Check_Aspect_At_End_Of_Declarations): Use Expression_Copy
+       instead of Entity.
+       (Check_Aspect_At_Freeze_Point): Likewise.
+       * sem_ch3.adb: Simplify calls to Analyze_Aspect_Specifications.
+       * sem_ch6.adb (Analyze_Abstract_Subprogram_Declaration): Simplify call to
+       Analyze_Aspect_Specifications.
+       (Analyze_Expression_Function): Keep the aspects from the
+       original node after a rewrite.
+       (Analyze_Generic_Subprogram_Body): Remove Exchange aspects
+       that is no longer needed. Simplify call to
+       Analyze_Aspect_Specifications.
+       (Analyze_Null_Procedure): Keep the aspects from the
+       original node after a rewrite.
+       (Analyze_Subprogram_Body_Helper): Simplify calls to
+       Analyze_Aspect_Specifications.
+       (Analyze_Subprogram_Declaration): Likewise.
+       * sem_ch7.adb (Analyze_Package_Body_Helper): Remove Exchange aspects
+       that is no longer needed. Simplify call to
+       Analyze_Aspect_Specifications.
+       (Analyze_Package_Declaration): Simplify call to
+       Analyze_Aspect_Specifications.
+       (Analyze_Private_Type_Declaration): Likewise.
+       * sem_ch8.adb: Simplify calls to
+       Analyze_Aspect_Specifications.
+       * sem_ch9.adb (Analyze_Entry_Body): Simplify call to
+       Analyze_Aspects_On_Subprogram_Body_Or_Stub.
+       (Analyze_Entry_Declaration): Simplify call to
+       Analyze_Aspect_Specifications.
+       (Analyze_Protected_Body): Likewise.
+       (Analyze_Protected_Type_Declaration): Likewise.
+       (Analyze_Single_Protected_Declaration): Keep the aspects from
+       the original node after a rewrite. Simplify call to
+       Analyze_Aspect_Specifications.
+       (Analyze_Single_Task_Declaration): Likewise.
+       (Analyze_Task_Body): Simplify call to
+       Analyze_Aspect_Specifications.
+       (Analyze_Task_Type_Declaration): Simplify calls to
+       Analyze_Aspect_Specifications.
+       * sem_dim.adb: Remove explicitly setting the parents
+       for the Aspect_Specification list.
+       * sem_disp.adb: Remove the with that is no longer
+       required since Aspect_Specifications is a node operation now.
+       * sem_util.adb (Copy_Node_With_Replacement): Remove explicit code for aspects.
+       * treepr.adb (Print_Field): Remove the version that was used for printing
+       aspects.
+       (Print_Node): Remove aspect specific code.
+
+2023-11-07  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gen_il-gen-gen_nodes.adb (N_Op_Boolean): Fix description.
+       * sem_ch4.adb (Analyze_Comparison_Equality_Op): Tidy up.
+       * sem_ch12.adb (Copy_Generic_Node): Use N_Op_Compare subtype.
+
+2023-11-07  Piotr Trojanek  <trojanek@adacore.com>
+
+       * exp_ch6.adb, exp_disp.adb, sem_ch13.adb, sem_ch3.adb: Fix newly
+       detected violations.
+
+2023-11-07  Piotr Trojanek  <trojanek@adacore.com>
+
+       * sem_ch3.adb, sem_ch4.adb, sem_eval.adb: Fix newly detected
+       violations.
+
+2023-11-07  Ronan Desplanques  <desplanques@adacore.com>
+
+       * doc/gnat_ugn/building_executable_programs_with_gnat.rst: Fix
+       -gnatwc documentation.
+       * gnat_ugn.texi: Regenerate.
+
+2023-11-07  Steve Baird  <baird@adacore.com>
+
+       * local_restrict.ads: A new package. Declares Local_Restriction
+       enumeration type and provides operations to check for local
+       restriction violations.
+       * local_restrict.adb: Corresponding package body. Replace "not
+       Present (X)" calls with "No (X)" calls.
+       * aspects.ads: Add a new enumeration elements,
+       Aspect_Local_Restrictions and Aspect_User_Aspect, to the Aspect_Id
+       enumeration type. Update Aspect_Id-indexed aggregates. Add nested
+       package User_Aspect_Support to manage two pieces of state. One is
+       a map from identifiers to User_Aspect_Definition pragmas (updated
+       when such a pragma is encountered). The other is an
+       access-to-subprogram variable that is introduced in order to keep
+       the bulk of semantics out of the closure of package Aspects while
+       allowing a call from aspects.adb to the sem_ch13 procedure that
+       analyzes a User_Aspect aspect specification.
+       * aspects.adb (Find_Aspect): Cope with a case of a block statement
+       with an empty parent. It is not clear whether this is papering
+       over a compiler bug. Add indirect call through the aforementioned
+       access-to-subprogram variable when Find_Aspect enounters an
+       unanalyzed User_Aspect aspect specification. If Find_Aspect is
+       called looking for aspect Foo, then a User_Aspect specification
+       might generate (during analysis) a Foo aspect specification. So
+       the Find_Aspect call needs to trigger that analysis if it has not
+       already taken place. Provide a body for package
+       User_Aspect_Support. Replace "not Present (X)" call with "No (X)"
+       call.
+       * freeze.adb (Freeze_Subprogram): Check local restriction
+       compatibility when a dispatching operation is overridden.
+       * par-prag.adb: Add support for parsing a User_Aspect_Definition
+       pragma.
+       * restrict.ads: We'd like to have the body of package Restrict
+       include a call to a procedure declared in package Local_Restrict.
+       Doing that in the obvious way pulls most of semantics into the
+       closure of package Restrict, and that turns out to cause problems.
+       So we introduce a level of indirection and instead call through an
+       access-to-subprogram value. In this unit, we declare the
+       access-to-subprogram type and object.
+       * restrict.adb (Check Restriction): When a construct is
+       encountered that could violate a global restriction (depending on
+       whether the given restriction is in effect), Check_Restriction is
+       called. At this point, we also check for a violation of any
+       corresponding local restriction that is in effect. For reasons
+       described above, this check is performed via an indirect call.
+       * sem_ch13.ads (Parse_Aspect_Local_Restrictions): A new function,
+       similar to the existing Parse_Aspect_Xxx subprograms.
+       * sem_ch13.adb: Perform semantic analysis of Local_Restrictions
+       and User_Aspect aspect specifications. Declare and call new
+       Validate_Aspect_Local_Restrictions and
+       Analyze_User_Aspect_Aspect_Specification procedures (a reference
+       to the latter is registered during package elaboration). In
+       Analyze_Aspect_Specifications, do not set the Analyzed flag of a
+       User_Aspect aspect specification. Replace "not Present (X)" call
+       with "No (X)" call. Replace 'Image with 'Img in a case where the
+       prefix of the attribute reference is an object; this is done to
+       accomodate older compilers.
+       * sem_ch6.adb (Check_Subtype_Conformant): Include in subtype
+       conformance check a check for overriding-related compatibility of
+       local restrictions.
+       * sem_ch8.adb (Analyze_Subprogram_Renaming): In the case of an
+       instance of a generic that takes a formal subprogram, check that
+       formal and actual are compatible with respect to local
+       restrictions.
+       * sem_prag.adb: Add support for User_Aspect_Definition pragma.
+       * sem_res.adb (Resolve_Call): Check caller/callee compatibility
+       with respect to local restrictions.
+       * snames.ads-tmpl: Add Name_Local_Restrictions, Name_User_Aspect,
+       and Name_User_Aspect_Definition constants.
+       * doc/gnat_rm/implementation_defined_aspects.rst: Document new
+       aspects.
+       * doc/gnat_rm/implementation_defined_pragmas.rst: Document new
+       pragma.
+       * doc/gnat_ugn/the_gnat_compilation_model.rst: Add
+       User_Aspect_Definition to list of GNAT pragmas.
+       * gcc-interface/Make-lang.in: Add local_restrict.o.
+       * gnat-style.texi: Regenerate.
+       * gnat_rm.texi: Regenerate.
+       * gnat_ugn.texi: Regenerate.
+
+2023-11-07  Bob Duff  <duff@adacore.com>
+
+       * sem_ch4.adb (Is_Private_Overriding): Return True in the case
+       where a primitive operation is publicly inherited but privately
+       overridden.
+
+2023-11-07  Piotr Trojanek  <trojanek@adacore.com>
+
+       * exp_pakd.adb (Expand_Bit_Packed_Element_Set): Remove code from the
+       ELSE branch, because it was is identical to code before the IF
+       statements itself.
+
+2023-11-07  Piotr Trojanek  <trojanek@adacore.com>
+
+       * exp_pakd.adb (Expand_Bit_Packed_Element_Set): Change Ctyp and Csiz
+       from variables to constants and compute them using the nominal type
+       of the assigned array object.
+
+2023-11-07  Piotr Trojanek  <trojanek@adacore.com>
+
+       * exp_pakd.adb, libgnarl/s-osinte__android.ads,
+       libgnarl/s-osinte__linux.ads, libgnarl/s-osinte__qnx.ads,
+       libgnarl/s-osinte__rtems.ads, libgnat/s-gearop.adb,
+       libgnat/s-poosiz.adb, sem_util.adb: Fix style.
+
+2023-11-07  Piotr Trojanek  <trojanek@adacore.com>
+
+       * exp_pakd.adb (Expand_Bit_Packed_Element_Set): Simplify handling of
+       assignments with string literals.
+
+2023-11-07  Piotr Trojanek  <trojanek@adacore.com>
+
+       * exp_pakd.adb (Expand_Bit_Packed_Element_Set): Remove Rhs_Val_Known;
+       represent unknown value by assigning Rhs_Val with No_Uint.
+
+2023-11-07  Piotr Trojanek  <trojanek@adacore.com>
+
+       * exp_pakd.adb
+       (Expand_Bit_Packed_Element_Set): Change local Decl object from
+       variable to constant.
+       (Setup_Inline_Packed_Array_Reference): Likewise for Csiz.
+
+2023-11-07  Piotr Trojanek  <trojanek@adacore.com>
+
+       * exp_pakd.adb (Setup_Inline_Packed_Array_Reference): Remove extra
+       whitespace from the list of parameters.
+
+2023-11-07  Piotr Trojanek  <trojanek@adacore.com>
+
+       * sem_util.adb (Get_Actual_Subtype_If_Available): Only call Etype
+       when necessary.
+
+2023-11-07  Piotr Trojanek  <trojanek@adacore.com>
+
+       * sem_util.adb
+       (Get_Actual_Subtype,Get_Actual_Subtype_If_Available): Fix handling
+       of expanded names.
+
+2023-11-07  Viljar Indus  <indus@adacore.com>
+
+       * sem_prag.adb: (Analyze_Pragma): Reduce the number of nested if
+       statements.
+
+2023-11-07  Viljar Indus  <indus@adacore.com>
+
+       * sem_ch10.adb: (Analyze_Compilation_Unit): Restore the orignal
+       state of style check pragmas at the end of the analysis.
+
+2023-11-07  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * exp_pakd.adb (Get_Base_And_Bit_Offset): Use the full component
+       reference instead of just the selector name for 'Bit_Position.
+
 2023-11-04  David Malcolm  <dmalcolm@redhat.com>
 
        * gcc-interface/misc.cc: Update for changes to diagnostic_context.
index e6617c01f67d499b801657087539652d2d222e56..0039ad47de282f0592b454334889d0d81b9a3ff2 100644 (file)
@@ -1,3 +1,64 @@
+2023-11-07  Joseph Myers  <joseph@codesourcery.com>
+
+       * c-format.h (T2X_UI): Rename to T23_UI.
+       (T2X_UL): Rename to T23_UL.
+       (T2X_ULL): Rename to T23_ULL.
+       (T2X_US): Rename to T23_US.
+       (T2X_UC): Rename to T23_UC.
+       (T2X_ST): Rename to T23_ST.
+       (T2X_UPD): Rename to T23_UPD.
+       (T2X_UIM): Rename to T23_UIM.
+       (T2X_D32): Rename to T23_D32.
+       (T2X_D64): Rename to T23_D64.
+       (T2X_D128): Rename to T23_D128.
+       (T2X_I8): Rename to T23_I8.
+       (T2X_I16): Rename to T23_I16.
+       (T2X_I32): Rename to T23_I32.
+       (T2X_I64): Rename to T23_I64.
+       (T2X_U8): Rename to T23_U8.
+       (T2X_U16): Rename to T23_U16.
+       (T2X_U32): Rename to T23_U32.
+       (T2X_U64): Rename to T23_U64.
+       (T2X_IF8): Rename to T23_IF8.
+       (T2X_IF16): Rename to T23_IF16.
+       (T2X_IF32): Rename to T23_IF32.
+       (T2X_IF64): Rename to T23_IF64.
+       (T2X_UF8): Rename to T23_UF8.
+       (T2X_UF16): Rename to T23_UF16.
+       (T2X_UF32): Rename to T23_UF32.
+       (T2X_UF64): Rename to T23_UF64.
+       * c-format.cc: Update all uses of T2X_* macros to use T23_*.
+
+2023-11-07  Kwok Cheung Yeung  <kcy@codesourcery.com>
+
+       * c-attribs.cc (c_common_attribute_table): Add attribute for
+       indirect functions.
+       * c-pragma.h (enum parma_omp_clause): Add entry for indirect clause.
+
+2023-11-07  Joseph Myers  <joseph@codesourcery.com>
+
+       * c-common.cc (flag_isoc2x): Rename to flag_isoc23.
+       (c_common_reswords): Use D_C23 instead of D_C2X.
+       * c-common.h: Refer throughout to C23 instead of C2X in comments.
+       (D_C2X): Rename to D_C23.
+       (flag_isoc2x): Rename to flag_isoc23.
+       * c-cppbuiltin.cc (builtin_define_float_constants): Use
+       flag_isoc23 instead of flag_isoc2x.  Refer to C23 instead of C2x
+       in comments.
+       * c-format.cc: Use STD_C23 instead of STD_C2X and flag_isoc23
+       instead of flag_isoc2x.  Refer to C23 instead of C2X in comments.
+       * c-format.h: Use STD_C23 instead of STD_C2X.
+       * c-lex.cc: Use warn_c11_c23_compat instead of warn_c11_c2x_compat
+       and flag_isoc23 instead of flag_isoc2x.  Refer to C23 instead of
+       C2X in diagnostics.
+       * c-opts.cc: Use flag_isoc23 instead of flag_isoc2x.  Refer to C23
+       instead of C2X in comments.
+       (set_std_c2x): Rename to set_std_c23.
+       * c.opt (Wc11-c23-compat): Use CPP(cpp_warn_c11_c23_compat)
+       CppReason(CPP_W_C11_C23_COMPAT) Var(warn_c11_c23_compat) instead
+       of CPP(cpp_warn_c11_c2x_compat) CppReason(CPP_W_C11_C2X_COMPAT)
+       Var(warn_c11_c2x_compat).
+
 2023-11-06  Joseph Myers  <joseph@codesourcery.com>
 
        PR c/107954
index f282876e07cd8d9afc3b4fcd3040a5873c02950e..7730d1d24f91a5e4c122d2c97adea2e059bc3380 100644 (file)
@@ -1,3 +1,37 @@
+2023-11-07  Kwok Cheung Yeung  <kcy@codesourcery.com>
+
+       * c-decl.cc (c_decl_attributes): Add attribute for indirect
+       functions.
+       * c-lang.h (c_omp_declare_target_attr): Add indirect field.
+       * c-parser.cc (c_parser_omp_clause_name): Handle indirect clause.
+       (c_parser_omp_clause_indirect): New.
+       (c_parser_omp_all_clauses): Handle indirect clause.
+       (OMP_DECLARE_TARGET_CLAUSE_MASK): Add indirect clause to mask.
+       (c_parser_omp_declare_target): Handle indirect clause.  Emit error
+       message if device_type or indirect clauses used alone.  Emit error
+       if indirect clause used with device_type that is not 'any'.
+       (OMP_BEGIN_DECLARE_TARGET_CLAUSE_MASK): Add indirect clause to mask.
+       (c_parser_omp_begin): Handle indirect clause.
+       * c-typeck.cc (c_finish_omp_clauses): Handle indirect clause.
+
+2023-11-07  Joseph Myers  <joseph@codesourcery.com>
+
+       * c-decl.cc: Use flag_isoc23 instead of flag_isoc2x and c23_auto_p
+       instead of c2x_auto_p.  Refer to C23 instead of C2X in diagnostics
+       and comments.
+       * c-errors.cc: Use flag_isoc23 instead of flag_isoc2x and
+       warn_c11_c23_compat instead of warn_c11_c2x_compat.  Refer to C23
+       instead of C2X in comments.
+       * c-parser.cc: Use flag_isoc23 instead of flag_isoc2x,
+       warn_c11_c23_compat instead of warn_c11_c2x_compat, c23_auto_p
+       instead of c2x_auto_p and D_C23 instead of D_C2X.  Refer to C23
+       instead of C2X in diagnostics and comments.
+       * c-tree.h: Refer to C23 instead of C2X in comments.
+       (struct c_declspecs): Rename c2x_auto_p to c23_auto_p.
+       * c-typeck.cc: Use flag_isoc23 instead of flag_isoc2x and
+       warn_c11_c23_compat instead of warn_c11_c2x_compat.  Refer to C23
+       instead of C2X in diagnostics and comments.
+
 2023-11-06  Joseph Myers  <joseph@codesourcery.com>
 
        PR c/107954
index 3c216e67474567fb8a39925838b91c433d35bd34..6361ac6f259a7615aa732bff6f9a663b2a548207 100644 (file)
@@ -1,3 +1,21 @@
+2023-11-07  Kwok Cheung Yeung  <kcy@codesourcery.com>
+
+       * cp-tree.h (cp_omp_declare_target_attr): Add indirect field.
+       * decl2.cc (cplus_decl_attributes): Add attribute for indirect
+       functions.
+       * parser.cc (cp_parser_omp_clause_name): Handle indirect clause.
+       (cp_parser_omp_clause_indirect): New.
+       (cp_parser_omp_all_clauses): Handle indirect clause.
+       (handle_omp_declare_target_clause): Add extra parameter.  Add
+       indirect attribute for indirect functions.
+       (OMP_DECLARE_TARGET_CLAUSE_MASK): Add indirect clause to mask.
+       (cp_parser_omp_declare_target): Handle indirect clause.  Emit error
+       message if device_type or indirect clauses used alone.  Emit error
+       if indirect clause used with device_type that is not 'any'.
+       (OMP_BEGIN_DECLARE_TARGET_CLAUSE_MASK): Add indirect clause to mask.
+       (cp_parser_omp_begin): Handle indirect clause.
+       * semantics.cc (finish_omp_clauses): Handle indirect clause.
+
 2023-11-04  Jakub Jelinek  <jakub@redhat.com>
 
        * parser.h (struct cp_parser): Adjust comment on omp_attrs_forbidden_p
index 9e6eab8254cf108be913219f37c7d52cad5dc039..fae7521b0aaef19d71c50ea41fd42e981b5764cd 100644 (file)
@@ -1,3 +1,8 @@
+2023-11-07  Joseph Myers  <joseph@codesourcery.com>
+
+       * gfortran.h (gfc_real_info): Refer to C23 instead of C2X in
+       comment.
+
 2023-11-06  Martin Jambor  <mjambor@suse.cz>
 
        * trans-decl.cc (gfc_build_builtin_function_decls): Fix fnspec of
index ca61d045cc312f906f03279c1fd31f5eeff946bf..492331900010f55b7a07b2ed89e7ba69be4ab52f 100644 (file)
@@ -1,3 +1,7 @@
+2023-11-07  Joseph Myers  <joseph@codesourcery.com>
+
+       * lto-lang.cc (flag_isoc2x): Rename to flag_isoc23.
+
 2023-09-30  Eugene Rozenfeld  <erozen@microsoft.com>
 
        * Make-lang.in: Make create_fdas_for_lto1 target not .PHONY
index 7856b4e497b589d50fed9de69151040cfc25acb5..0f8c8e48b87b54f5006c91bf15637658b3bf5a34 100644 (file)
@@ -1,3 +1,633 @@
+2023-11-07  Pan Li  <pan2.li@intel.com>
+
+       * gcc.target/riscv/rvv/autovec/unop/math-ifloor-1.c: New test.
+       * gcc.target/riscv/rvv/autovec/unop/math-ifloor-run-1.c: New test.
+       * gcc.target/riscv/rvv/autovec/unop/math-lfloor-rv32-0.c: New test.
+       * gcc.target/riscv/rvv/autovec/unop/math-lfloor-rv32-run-0.c: New test.
+       * gcc.target/riscv/rvv/autovec/unop/math-lfloorf-rv64-0.c: New test.
+       * gcc.target/riscv/rvv/autovec/unop/math-lfloorf-rv64-run-0.c: New test.
+       * gcc.target/riscv/rvv/autovec/unop/math-llfloorf-0.c: New test.
+       * gcc.target/riscv/rvv/autovec/unop/math-llfloorf-run-0.c: New test.
+       * gcc.target/riscv/rvv/autovec/vls/math-ifloor-1.c: New test.
+       * gcc.target/riscv/rvv/autovec/vls/math-lfloor-rv32-0.c: New test.
+       * gcc.target/riscv/rvv/autovec/vls/math-lfloorf-rv64-0.c: New test.
+       * gcc.target/riscv/rvv/autovec/vls/math-llfloorf-0.c: New test.
+
+2023-11-07  Joseph Myers  <joseph@codesourcery.com>
+
+       * c-c++-common/alias-1.c: Use "c23" or "gnu23" option names in
+       place of "c2x" or "gnu2x" names, and refer to C23 in comments in
+       place of C2X or C2x.
+       * gcc.dg/Wformat-overflow1.c: Likewise.
+       * gcc.dg/asm-scope-1.c: Likewise.
+       * gcc.dg/atomic/c2x-stdatomic-lockfree-char8_t.c: Likewise.
+       * gcc.dg/atomic/c2x-stdatomic-var-init-1.c: Likewise.
+       * gcc.dg/atomic/gnu2x-stdatomic-lockfree-char8_t.c: Likewise.
+       * gcc.dg/atomic/stdatomic-bitint-1.c: Likewise.
+       * gcc.dg/atomic/stdatomic-bitint-2.c: Likewise.
+       * gcc.dg/attr-assume-1.c: Likewise.
+       * gcc.dg/attr-assume-2.c: Likewise.
+       * gcc.dg/attr-assume-3.c: Likewise.
+       * gcc.dg/attr-assume-4.c: Likewise.
+       * gcc.dg/bitint-1.c: Likewise.
+       * gcc.dg/bitint-10.c: Likewise.
+       * gcc.dg/bitint-11.c: Likewise.
+       * gcc.dg/bitint-12.c: Likewise.
+       * gcc.dg/bitint-13.c: Likewise.
+       * gcc.dg/bitint-14.c: Likewise.
+       * gcc.dg/bitint-15.c: Likewise.
+       * gcc.dg/bitint-16.c: Likewise.
+       * gcc.dg/bitint-17.c: Likewise.
+       * gcc.dg/bitint-18.c: Likewise.
+       * gcc.dg/bitint-19.c: Likewise.
+       * gcc.dg/bitint-2.c: Likewise.
+       * gcc.dg/bitint-20.c: Likewise.
+       * gcc.dg/bitint-21.c: Likewise.
+       * gcc.dg/bitint-22.c: Likewise.
+       * gcc.dg/bitint-23.c: Likewise.
+       * gcc.dg/bitint-25.c: Likewise.
+       * gcc.dg/bitint-28.c: Likewise.
+       * gcc.dg/bitint-29.c: Likewise.
+       * gcc.dg/bitint-3.c: Likewise.
+       * gcc.dg/bitint-30.c: Likewise.
+       * gcc.dg/bitint-31.c: Likewise.
+       * gcc.dg/bitint-32.c: Likewise.
+       * gcc.dg/bitint-34.c: Likewise.
+       * gcc.dg/bitint-35.c: Likewise.
+       * gcc.dg/bitint-36.c: Likewise.
+       * gcc.dg/bitint-38.c: Likewise.
+       * gcc.dg/bitint-39.c: Likewise.
+       * gcc.dg/bitint-4.c: Likewise.
+       * gcc.dg/bitint-5.c: Likewise.
+       * gcc.dg/bitint-6.c: Likewise.
+       * gcc.dg/bitint-7.c: Likewise.
+       * gcc.dg/bitint-8.c: Likewise.
+       * gcc.dg/bitint-9.c: Likewise.
+       * gcc.dg/c11-attr-syntax-3.c: Likewise.
+       * gcc.dg/c11-builtins-1.c: Likewise.
+       * gcc.dg/c11-complit-1.c: Likewise.
+       * gcc.dg/c11-complit-2.c: Likewise.
+       * gcc.dg/c11-complit-3.c: Likewise.
+       * gcc.dg/c11-digit-separators-1.c: Likewise.
+       * gcc.dg/c11-empty-init-3.c: Likewise.
+       * gcc.dg/c11-enum-1.c: Likewise.
+       * gcc.dg/c11-enum-2.c: Likewise.
+       * gcc.dg/c11-enum-3.c: Likewise.
+       * gcc.dg/c11-enum-4.c: Likewise.
+       * gcc.dg/c11-enum-5.c: Likewise.
+       * gcc.dg/c11-enum-6.c: Likewise.
+       * gcc.dg/c11-floatn-5.c: Likewise.
+       * gcc.dg/c11-floatn-6.c: Likewise.
+       * gcc.dg/c11-floatn-7.c: Likewise.
+       * gcc.dg/c11-floatn-8.c: Likewise.
+       * gcc.dg/c11-fordecl-3.c: Likewise.
+       * gcc.dg/c11-fordecl-4.c: Likewise.
+       * gcc.dg/c11-keywords-1.c: Likewise.
+       * gcc.dg/c11-old-style-definition-1.c: Likewise.
+       * gcc.dg/c11-old-style-definition-2.c: Likewise.
+       * gcc.dg/c11-parm-omit-3.c: Likewise.
+       * gcc.dg/c11-qual-1.c: Likewise.
+       * gcc.dg/c11-static-assert-9.c: Likewise.
+       * gcc.dg/c11-stdarg-3.c: Likewise.
+       * gcc.dg/c11-unproto-1.c: Likewise.
+       * gcc.dg/c11-unproto-2.c: Likewise.
+       * gcc.dg/c11-utf8char-1.c: Likewise.
+       * gcc.dg/c17-nullptr-2.c: Likewise.
+       * gcc.dg/c2x-align-1.c: Likewise.
+       * gcc.dg/c2x-align-6.c: Likewise.
+       * gcc.dg/c2x-attr-deprecated-1.c: Likewise.
+       * gcc.dg/c2x-attr-deprecated-2.c: Likewise.
+       * gcc.dg/c2x-attr-deprecated-3.c: Likewise.
+       * gcc.dg/c2x-attr-deprecated-4.c: Likewise.
+       * gcc.dg/c2x-attr-fallthrough-1.c: Likewise.
+       * gcc.dg/c2x-attr-fallthrough-2.c: Likewise.
+       * gcc.dg/c2x-attr-fallthrough-3.c: Likewise.
+       * gcc.dg/c2x-attr-fallthrough-4.c: Likewise.
+       * gcc.dg/c2x-attr-fallthrough-5.c: Likewise.
+       * gcc.dg/c2x-attr-fallthrough-6.c: Likewise.
+       * gcc.dg/c2x-attr-maybe_unused-1.c: Likewise.
+       * gcc.dg/c2x-attr-maybe_unused-2.c: Likewise.
+       * gcc.dg/c2x-attr-maybe_unused-3.c: Likewise.
+       * gcc.dg/c2x-attr-maybe_unused-4.c: Likewise.
+       * gcc.dg/c2x-attr-nodiscard-1.c: Likewise.
+       * gcc.dg/c2x-attr-nodiscard-2.c: Likewise.
+       * gcc.dg/c2x-attr-nodiscard-3.c: Likewise.
+       * gcc.dg/c2x-attr-nodiscard-4.c: Likewise.
+       * gcc.dg/c2x-attr-noreturn-1.c: Likewise.
+       * gcc.dg/c2x-attr-noreturn-2.c: Likewise.
+       * gcc.dg/c2x-attr-noreturn-3.c: Likewise.
+       * gcc.dg/c2x-attr-syntax-1.c: Likewise.
+       * gcc.dg/c2x-attr-syntax-2.c: Likewise.
+       * gcc.dg/c2x-attr-syntax-3.c: Likewise.
+       * gcc.dg/c2x-attr-syntax-4.c: Likewise.
+       * gcc.dg/c2x-attr-syntax-5.c: Likewise.
+       * gcc.dg/c2x-attr-syntax-7.c: Likewise.
+       * gcc.dg/c2x-auto-1.c: Likewise.
+       * gcc.dg/c2x-auto-2.c: Likewise.
+       * gcc.dg/c2x-auto-3.c: Likewise.
+       * gcc.dg/c2x-auto-4.c: Likewise.
+       * gcc.dg/c2x-binary-constants-1.c: Likewise.
+       * gcc.dg/c2x-binary-constants-2.c: Likewise.
+       * gcc.dg/c2x-binary-constants-3.c: Likewise.
+       * gcc.dg/c2x-bool-1.c: Likewise.
+       * gcc.dg/c2x-bool-2.c: Likewise.
+       * gcc.dg/c2x-bool-limits-1.c: Likewise.
+       * gcc.dg/c2x-builtins-1.c: Likewise.
+       * gcc.dg/c2x-complit-1.c: Likewise.
+       * gcc.dg/c2x-complit-2.c: Likewise.
+       * gcc.dg/c2x-complit-3.c: Likewise.
+       * gcc.dg/c2x-complit-4.c: Likewise.
+       * gcc.dg/c2x-complit-5.c: Likewise.
+       * gcc.dg/c2x-complit-6.c: Likewise.
+       * gcc.dg/c2x-complit-7.c: Likewise.
+       * gcc.dg/c2x-complit-8.c: Likewise.
+       * gcc.dg/c2x-concat-1.c: Likewise.
+       * gcc.dg/c2x-constexpr-1.c: Likewise.
+       * gcc.dg/c2x-constexpr-2a.c: Likewise.
+       * gcc.dg/c2x-constexpr-2b.c: Likewise.
+       * gcc.dg/c2x-constexpr-3.c: Likewise.
+       * gcc.dg/c2x-constexpr-4.c: Likewise.
+       * gcc.dg/c2x-constexpr-5.c: Likewise.
+       * gcc.dg/c2x-constexpr-6.c: Likewise.
+       * gcc.dg/c2x-constexpr-7.c: Likewise.
+       * gcc.dg/c2x-constexpr-8.c: Likewise.
+       * gcc.dg/c2x-constexpr-9.c: Likewise.
+       * gcc.dg/c2x-digit-separators-1.c: Likewise.
+       * gcc.dg/c2x-digit-separators-2.c: Likewise.
+       * gcc.dg/c2x-digit-separators-3.c: Likewise.
+       * gcc.dg/c2x-empty-init-1.c: Likewise.
+       * gcc.dg/c2x-empty-init-2.c: Likewise.
+       * gcc.dg/c2x-empty-init-3.c: Likewise.
+       * gcc.dg/c2x-enum-1.c: Likewise.
+       * gcc.dg/c2x-enum-2.c: Likewise.
+       * gcc.dg/c2x-enum-3.c: Likewise.
+       * gcc.dg/c2x-enum-4.c: Likewise.
+       * gcc.dg/c2x-enum-5.c: Likewise.
+       * gcc.dg/c2x-enum-6.c: Likewise.
+       * gcc.dg/c2x-enum-7.c: Likewise.
+       * gcc.dg/c2x-enum-8.c: Likewise.
+       * gcc.dg/c2x-float-1.c: Likewise.
+       * gcc.dg/c2x-float-10.c: Likewise.
+       * gcc.dg/c2x-float-11.c: Likewise.
+       * gcc.dg/c2x-float-12.c: Likewise.
+       * gcc.dg/c2x-float-13.c: Likewise.
+       * gcc.dg/c2x-float-2.c: Likewise.
+       * gcc.dg/c2x-float-3.c: Likewise.
+       * gcc.dg/c2x-float-4.c: Likewise.
+       * gcc.dg/c2x-float-5.c: Likewise.
+       * gcc.dg/c2x-float-6.c: Likewise.
+       * gcc.dg/c2x-float-7a.c: Likewise.
+       * gcc.dg/c2x-float-7b.c: Likewise.
+       * gcc.dg/c2x-float-7c.c: Likewise.
+       * gcc.dg/c2x-float-8.c: Likewise.
+       * gcc.dg/c2x-float-9.c: Likewise.
+       * gcc.dg/c2x-float-no-dfp-1.c: Likewise.
+       * gcc.dg/c2x-float-no-dfp-2.c: Likewise.
+       * gcc.dg/c2x-float-no-dfp-3.c: Likewise.
+       * gcc.dg/c2x-float-no-dfp-4.c: Likewise.
+       * gcc.dg/c2x-floatn-1.c: Likewise.
+       * gcc.dg/c2x-floatn-2.c: Likewise.
+       * gcc.dg/c2x-floatn-3.c: Likewise.
+       * gcc.dg/c2x-floatn-4.c: Likewise.
+       * gcc.dg/c2x-floatn-5.c: Likewise.
+       * gcc.dg/c2x-floatn-6.c: Likewise.
+       * gcc.dg/c2x-floatn-7.c: Likewise.
+       * gcc.dg/c2x-floatn-8.c: Likewise.
+       * gcc.dg/c2x-fordecl-1.c: Likewise.
+       * gcc.dg/c2x-fordecl-2.c: Likewise.
+       * gcc.dg/c2x-fordecl-3.c: Likewise.
+       * gcc.dg/c2x-fordecl-4.c: Likewise.
+       * gcc.dg/c2x-has-c-attribute-1.c: Likewise.
+       * gcc.dg/c2x-has-c-attribute-2.c: Likewise.
+       * gcc.dg/c2x-has-c-attribute-3.c: Likewise.
+       * gcc.dg/c2x-has-c-attribute-4.c: Likewise.
+       * gcc.dg/c2x-labels-1.c: Likewise.
+       * gcc.dg/c2x-labels-2.c: Likewise.
+       * gcc.dg/c2x-labels-3.c: Likewise.
+       * gcc.dg/c2x-limits-1.c: Likewise.
+       * gcc.dg/c2x-no-dfp-1.c: Likewise.
+       * gcc.dg/c2x-nullptr-1.c: Likewise.
+       * gcc.dg/c2x-nullptr-2.c: Likewise.
+       * gcc.dg/c2x-nullptr-3.c: Likewise.
+       * gcc.dg/c2x-nullptr-4.c: Likewise.
+       * gcc.dg/c2x-nullptr-5.c: Likewise.
+       * gcc.dg/c2x-nullptr-6.c: Likewise.
+       * gcc.dg/c2x-old-style-definition-1.c: Likewise.
+       * gcc.dg/c2x-old-style-definition-2.c: Likewise.
+       * gcc.dg/c2x-old-style-definition-3.c: Likewise.
+       * gcc.dg/c2x-old-style-definition-4.c: Likewise.
+       * gcc.dg/c2x-old-style-definition-5.c: Likewise.
+       * gcc.dg/c2x-old-style-definition-6.c: Likewise.
+       * gcc.dg/c2x-parm-omit-1.c: Likewise.
+       * gcc.dg/c2x-parm-omit-2.c: Likewise.
+       * gcc.dg/c2x-parm-omit-3.c: Likewise.
+       * gcc.dg/c2x-parm-omit-4.c: Likewise.
+       * gcc.dg/c2x-qual-1.c: Likewise.
+       * gcc.dg/c2x-qual-2.c: Likewise.
+       * gcc.dg/c2x-qual-3.c: Likewise.
+       * gcc.dg/c2x-qual-4.c: Likewise.
+       * gcc.dg/c2x-qual-5.c: Likewise.
+       * gcc.dg/c2x-qual-6.c: Likewise.
+       * gcc.dg/c2x-qual-7.c: Likewise.
+       * gcc.dg/c2x-static-assert-1.c: Likewise.
+       * gcc.dg/c2x-static-assert-2.c: Likewise.
+       * gcc.dg/c2x-static-assert-3.c: Likewise.
+       * gcc.dg/c2x-static-assert-4.c: Likewise.
+       * gcc.dg/c2x-stdarg-1.c: Likewise.
+       * gcc.dg/c2x-stdarg-2.c: Likewise.
+       * gcc.dg/c2x-stdarg-3.c: Likewise.
+       * gcc.dg/c2x-stdarg-4.c: Likewise.
+       * gcc.dg/c2x-stdarg-5.c: Likewise.
+       * gcc.dg/c2x-stdatomic-1.c: Likewise.
+       * gcc.dg/c2x-stddef-1.c: Likewise.
+       * gcc.dg/c2x-stdint-1.c: Likewise.
+       * gcc.dg/c2x-thread-local-1.c: Likewise.
+       * gcc.dg/c2x-thread-local-2.c: Likewise.
+       * gcc.dg/c2x-typeof-1.c: Likewise.
+       * gcc.dg/c2x-typeof-2.c: Likewise.
+       * gcc.dg/c2x-typeof-3.c: Likewise.
+       * gcc.dg/c2x-unproto-1.c: Likewise.
+       * gcc.dg/c2x-unproto-2.c: Likewise.
+       * gcc.dg/c2x-unproto-3.c: Likewise.
+       * gcc.dg/c2x-unproto-4.c: Likewise.
+       * gcc.dg/c2x-unreachable-1.c: Likewise.
+       * gcc.dg/c2x-utf8char-1.c: Likewise.
+       * gcc.dg/c2x-utf8char-2.c: Likewise.
+       * gcc.dg/c2x-utf8char-3.c: Likewise.
+       * gcc.dg/c2x-utf8str-type.c: Likewise.
+       * gcc.dg/c2x-utf8str.c: Likewise.
+       * gcc.dg/c90-auto-1.c: Likewise.
+       * gcc.dg/c90-complit-2.c: Likewise.
+       * gcc.dg/cpp/c11-warning-3.c: Likewise.
+       * gcc.dg/cpp/c2x-elifdef-1.c: Likewise.
+       * gcc.dg/cpp/c2x-elifdef-2.c: Likewise.
+       * gcc.dg/cpp/c2x-scope-1.c: Likewise.
+       * gcc.dg/cpp/c2x-scope-2.c: Likewise.
+       * gcc.dg/cpp/c2x-trigraphs-1.c: Likewise.
+       * gcc.dg/cpp/c2x-trigraphs-2.c: Likewise.
+       * gcc.dg/cpp/c2x-ucn-1.c: Likewise.
+       * gcc.dg/cpp/c2x-ucnid-1-utf8.c: Likewise.
+       * gcc.dg/cpp/c2x-ucnid-1.c: Likewise.
+       * gcc.dg/cpp/c2x-va-opt-1.c: Likewise.
+       * gcc.dg/cpp/c2x-warning-1.c: Likewise.
+       * gcc.dg/cpp/c2x-warning-2.c: Likewise.
+       * gcc.dg/cpp/gnu11-warning-3.c: Likewise.
+       * gcc.dg/cpp/gnu2x-warning-1.c: Likewise.
+       * gcc.dg/cpp/gnu2x-warning-2.c: Likewise.
+       * gcc.dg/cr-decimal-dig-2.c: Likewise.
+       * gcc.dg/cr-decimal-dig-3.c: Likewise.
+       * gcc.dg/dfp/bid-non-canonical-d128-1.c: Likewise.
+       * gcc.dg/dfp/bid-non-canonical-d128-2.c: Likewise.
+       * gcc.dg/dfp/bid-non-canonical-d128-3.c: Likewise.
+       * gcc.dg/dfp/bid-non-canonical-d128-4.c: Likewise.
+       * gcc.dg/dfp/bid-non-canonical-d32-1.c: Likewise.
+       * gcc.dg/dfp/bid-non-canonical-d32-2.c: Likewise.
+       * gcc.dg/dfp/bid-non-canonical-d64-1.c: Likewise.
+       * gcc.dg/dfp/bid-non-canonical-d64-2.c: Likewise.
+       * gcc.dg/dfp/bitint-1.c: Likewise.
+       * gcc.dg/dfp/bitint-2.c: Likewise.
+       * gcc.dg/dfp/bitint-3.c: Likewise.
+       * gcc.dg/dfp/bitint-4.c: Likewise.
+       * gcc.dg/dfp/bitint-5.c: Likewise.
+       * gcc.dg/dfp/bitint-6.c: Likewise.
+       * gcc.dg/dfp/bitint-7.c: Likewise.
+       * gcc.dg/dfp/bitint-8.c: Likewise.
+       * gcc.dg/dfp/c2x-builtins-dfp-1.c: Likewise.
+       * gcc.dg/dfp/c2x-constants-1.c: Likewise.
+       * gcc.dg/dfp/c2x-constants-2.c: Likewise.
+       * gcc.dg/dfp/c2x-constexpr-dfp-1.c: Likewise.
+       * gcc.dg/dfp/c2x-constexpr-dfp-2.c: Likewise.
+       * gcc.dg/dfp/c2x-float-dfp-1.c: Likewise.
+       * gcc.dg/dfp/c2x-float-dfp-2.c: Likewise.
+       * gcc.dg/dfp/c2x-float-dfp-3.c: Likewise.
+       * gcc.dg/dfp/c2x-float-dfp-4.c: Likewise.
+       * gcc.dg/dfp/c2x-float-dfp-5.c: Likewise.
+       * gcc.dg/dfp/c2x-float-dfp-6.c: Likewise.
+       * gcc.dg/dfp/c2x-float-dfp-7.c: Likewise.
+       * gcc.dg/dfp/c2x-float-dfp-8.c: Likewise.
+       * gcc.dg/dfp/c2x-keywords-1.c: Likewise.
+       * gcc.dg/dfp/c2x-keywords-2.c: Likewise.
+       * gcc.dg/dfp/tr24732-float-dfp-1.c: Likewise.
+       * gcc.dg/dfp/ts18661-2-float-dfp-1.c: Likewise.
+       * gcc.dg/fixed-point/bitint-1.c: Likewise.
+       * gcc.dg/format/c11-printf-1.c: Likewise.
+       * gcc.dg/format/c11-scanf-1.c: Likewise.
+       * gcc.dg/format/c2x-dfp-printf-1.c: Likewise.
+       * gcc.dg/format/c2x-dfp-scanf-1.c: Likewise.
+       * gcc.dg/format/c2x-printf-1.c: Likewise.
+       * gcc.dg/format/c2x-scanf-1.c: Likewise.
+       * gcc.dg/format/c2x-strftime-1.c: Likewise.
+       * gcc.dg/format/ext-10.c: Likewise.
+       * gcc.dg/format/ext-9.c: Likewise.
+       * gcc.dg/gnu11-typeof-2.c: Likewise.
+       * gcc.dg/gnu2x-attr-syntax-1.c: Likewise.
+       * gcc.dg/gnu2x-attr-syntax-2.c: Likewise.
+       * gcc.dg/gnu2x-attrs-1.c: Likewise.
+       * gcc.dg/gnu2x-attrs-2.c: Likewise.
+       * gcc.dg/gnu2x-auto-1.c: Likewise.
+       * gcc.dg/gnu2x-builtins-no-dfp-1.c: Likewise.
+       * gcc.dg/gnu2x-complit-1.c: Likewise.
+       * gcc.dg/gnu2x-complit-2.c: Likewise.
+       * gcc.dg/gnu2x-constexpr-1.c: Likewise.
+       * gcc.dg/gnu2x-empty-init-1.c: Likewise.
+       * gcc.dg/gnu2x-empty-init-2.c: Likewise.
+       * gcc.dg/gnu2x-enum-1.c: Likewise.
+       * gcc.dg/gnu2x-static-assert-1.c: Likewise.
+       * gcc.dg/gnu2x-stdarg-1.c: Likewise.
+       * gcc.dg/gnu2x-typeof-1.c: Likewise.
+       * gcc.dg/gnu2x-utf8char-1.c: Likewise.
+       * gcc.dg/gnu2x-utf8str-type.c: Likewise.
+       * gcc.dg/gnu2x-utf8str.c: Likewise.
+       * gcc.dg/gomp/attrs-1.c: Likewise.
+       * gcc.dg/gomp/attrs-10.c: Likewise.
+       * gcc.dg/gomp/attrs-11.c: Likewise.
+       * gcc.dg/gomp/attrs-12.c: Likewise.
+       * gcc.dg/gomp/attrs-13.c: Likewise.
+       * gcc.dg/gomp/attrs-14.c: Likewise.
+       * gcc.dg/gomp/attrs-15.c: Likewise.
+       * gcc.dg/gomp/attrs-16.c: Likewise.
+       * gcc.dg/gomp/attrs-17.c: Likewise.
+       * gcc.dg/gomp/attrs-18.c: Likewise.
+       * gcc.dg/gomp/attrs-19.c: Likewise.
+       * gcc.dg/gomp/attrs-2.c: Likewise.
+       * gcc.dg/gomp/attrs-20.c: Likewise.
+       * gcc.dg/gomp/attrs-21.c: Likewise.
+       * gcc.dg/gomp/attrs-3.c: Likewise.
+       * gcc.dg/gomp/attrs-4.c: Likewise.
+       * gcc.dg/gomp/attrs-5.c: Likewise.
+       * gcc.dg/gomp/attrs-6.c: Likewise.
+       * gcc.dg/gomp/attrs-7.c: Likewise.
+       * gcc.dg/gomp/attrs-8.c: Likewise.
+       * gcc.dg/gomp/attrs-9.c: Likewise.
+       * gcc.dg/limits-width-2.c: Likewise.
+       * gcc.dg/qual-return-10.c: Likewise.
+       * gcc.dg/qual-return-9.c: Likewise.
+       * gcc.dg/sso-19.c: Likewise.
+       * gcc.dg/stdckdint-1.c: Likewise.
+       * gcc.dg/stdckdint-2.c: Likewise.
+       * gcc.dg/stdint-width-2.c: Likewise.
+       * gcc.dg/tm/attrs-1.c: Likewise.
+       * gcc.dg/torture/bitint-1.c: Likewise.
+       * gcc.dg/torture/bitint-10.c: Likewise.
+       * gcc.dg/torture/bitint-11.c: Likewise.
+       * gcc.dg/torture/bitint-12.c: Likewise.
+       * gcc.dg/torture/bitint-13.c: Likewise.
+       * gcc.dg/torture/bitint-14.c: Likewise.
+       * gcc.dg/torture/bitint-15.c: Likewise.
+       * gcc.dg/torture/bitint-16.c: Likewise.
+       * gcc.dg/torture/bitint-17.c: Likewise.
+       * gcc.dg/torture/bitint-18.c: Likewise.
+       * gcc.dg/torture/bitint-19.c: Likewise.
+       * gcc.dg/torture/bitint-2.c: Likewise.
+       * gcc.dg/torture/bitint-20.c: Likewise.
+       * gcc.dg/torture/bitint-21.c: Likewise.
+       * gcc.dg/torture/bitint-22.c: Likewise.
+       * gcc.dg/torture/bitint-23.c: Likewise.
+       * gcc.dg/torture/bitint-24.c: Likewise.
+       * gcc.dg/torture/bitint-25.c: Likewise.
+       * gcc.dg/torture/bitint-26.c: Likewise.
+       * gcc.dg/torture/bitint-27.c: Likewise.
+       * gcc.dg/torture/bitint-28.c: Likewise.
+       * gcc.dg/torture/bitint-29.c: Likewise.
+       * gcc.dg/torture/bitint-3.c: Likewise.
+       * gcc.dg/torture/bitint-30.c: Likewise.
+       * gcc.dg/torture/bitint-31.c: Likewise.
+       * gcc.dg/torture/bitint-32.c: Likewise.
+       * gcc.dg/torture/bitint-33.c: Likewise.
+       * gcc.dg/torture/bitint-34.c: Likewise.
+       * gcc.dg/torture/bitint-35.c: Likewise.
+       * gcc.dg/torture/bitint-36.c: Likewise.
+       * gcc.dg/torture/bitint-37.c: Likewise.
+       * gcc.dg/torture/bitint-38.c: Likewise.
+       * gcc.dg/torture/bitint-39.c: Likewise.
+       * gcc.dg/torture/bitint-4.c: Likewise.
+       * gcc.dg/torture/bitint-40.c: Likewise.
+       * gcc.dg/torture/bitint-41.c: Likewise.
+       * gcc.dg/torture/bitint-42.c: Likewise.
+       * gcc.dg/torture/bitint-5.c: Likewise.
+       * gcc.dg/torture/bitint-6.c: Likewise.
+       * gcc.dg/torture/bitint-7.c: Likewise.
+       * gcc.dg/torture/bitint-8.c: Likewise.
+       * gcc.dg/torture/bitint-9.c: Likewise.
+       * gcc.dg/torture/builtin-fp-int-inexact-c2x.c: Likewise.
+       * gcc.dg/torture/c2x-stdarg-split-1a.c: Likewise.
+       * gcc.dg/torture/c2x-stdarg-split-1b.c: Likewise.
+       * gcc.dg/torture/float128-nan-floath.c: Likewise.
+       * gcc.dg/torture/float128x-nan-floath.c: Likewise.
+       * gcc.dg/torture/float16-nan-floath.c: Likewise.
+       * gcc.dg/torture/float32-nan-floath.c: Likewise.
+       * gcc.dg/torture/float32x-nan-floath.c: Likewise.
+       * gcc.dg/torture/float64-nan-floath.c: Likewise.
+       * gcc.dg/torture/float64x-nan-floath.c: Likewise.
+       * gcc.target/i386/excess-precision-11.c: Likewise.
+       * gcc.target/i386/excess-precision-12.c: Likewise.
+       * lib/target-supports.exp: Likewise.
+       * objc.dg/attributes/gnu2x-attr-syntax-1.m: Likewise.
+
+2023-11-07  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
+
+       * gcc.dg/vect/vect-sdiv-pow2-1.c: Recover scan check.
+       * lib/target-supports.exp: Remove riscv.
+
+2023-11-07  Robin Dapp  <rdapp@ventanamicro.com>
+
+       * gcc.dg/pr112359.c: New test.
+
+2023-11-07  Marek Polacek  <polacek@redhat.com>
+
+       * g++.dg/cpp2a/nodiscard-reason-nonstring.C: Adjust dg-error.
+
+2023-11-07  Kwok Cheung Yeung  <kcy@codesourcery.com>
+
+       * c-c++-common/gomp/declare-target-7.c: Update expected error message.
+       * c-c++-common/gomp/declare-target-indirect-1.c: New.
+       * c-c++-common/gomp/declare-target-indirect-2.c: New.
+       * g++.dg/gomp/attrs-21.C (v12): Update expected error message.
+       * g++.dg/gomp/declare-target-indirect-1.C: New.
+       * gcc.dg/gomp/attrs-21.c (v12): Update expected error message.
+
+2023-11-07  Joseph Myers  <joseph@codesourcery.com>
+
+       * gcc.dg/binary-constants-2.c: Refer to C23 instead of C2X.
+       * gcc.dg/binary-constants-3.c: Likewise.
+       * gcc.dg/bitint-23.c: Likewise.
+       * gcc.dg/bitint-26.c: Likewise.
+       * gcc.dg/bitint-27.c: Likewise.
+       * gcc.dg/c11-attr-syntax-1.c: Likewise.
+       * gcc.dg/c11-attr-syntax-2.c: Likewise.
+       * gcc.dg/c11-floatn-1.c: Likewise.
+       * gcc.dg/c11-floatn-2.c: Likewise.
+       * gcc.dg/c11-floatn-3.c: Likewise.
+       * gcc.dg/c11-floatn-4.c: Likewise.
+       * gcc.dg/c11-floatn-5.c: Likewise.
+       * gcc.dg/c11-floatn-6.c: Likewise.
+       * gcc.dg/c11-floatn-7.c: Likewise.
+       * gcc.dg/c11-floatn-8.c: Likewise.
+       * gcc.dg/c2x-attr-syntax-4.c: Likewise.
+       * gcc.dg/c2x-attr-syntax-6.c: Likewise.
+       * gcc.dg/c2x-attr-syntax-7.c: Likewise.
+       * gcc.dg/c2x-binary-constants-2.c: Likewise.
+       * gcc.dg/c2x-floatn-5.c: Likewise.
+       * gcc.dg/c2x-floatn-6.c: Likewise.
+       * gcc.dg/c2x-floatn-7.c: Likewise.
+       * gcc.dg/c2x-floatn-8.c: Likewise.
+       * gcc.dg/c2x-nullptr-4.c: Likewise.
+       * gcc.dg/c2x-qual-2.c: Likewise.
+       * gcc.dg/c2x-qual-3.c: Likewise.
+       * gcc.dg/c2x-qual-6.c: Likewise.
+       * gcc.dg/cpp/c11-warning-1.c: Likewise.
+       * gcc.dg/cpp/c11-warning-2.c: Likewise.
+       * gcc.dg/cpp/c11-warning-3.c: Likewise.
+       * gcc.dg/cpp/c2x-warning-2.c: Likewise.
+       * gcc.dg/cpp/gnu11-elifdef-3.c: Likewise.
+       * gcc.dg/cpp/gnu11-elifdef-4.c: Likewise.
+       * gcc.dg/cpp/gnu11-warning-1.c: Likewise.
+       * gcc.dg/cpp/gnu11-warning-2.c: Likewise.
+       * gcc.dg/cpp/gnu11-warning-3.c: Likewise.
+       * gcc.dg/cpp/gnu2x-warning-2.c: Likewise.
+       * gcc.dg/dfp/c11-constants-1.c: Likewise.
+       * gcc.dg/dfp/c11-constants-2.c: Likewise.
+       * gcc.dg/dfp/c2x-constants-2.c: Likewise.
+       * gcc.dg/dfp/constants-pedantic.c: Likewise.
+       * gcc.dg/pr30260.c: Likewise.
+       * gcc.dg/system-binary-constants-1.c: Likewise.
+
+2023-11-07  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
+
+       PR target/112420
+       * gcc.dg/vect/pr65518.c: Fix check for RVV.
+
+2023-11-07  Robin Dapp  <rdapp@ventanamicro.com>
+
+       * gcc.dg/vect/vect-cond-reduc-4.c: Make check more accurate.
+
+2023-11-07  Robin Dapp  <rdapp@ventanamicro.com>
+
+       * gcc.dg/vect/bb-slp-over-widen-1.c: Change test expectation.
+       * gcc.dg/vect/bb-slp-over-widen-2.c: Ditto.
+
+2023-11-07  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
+
+       * lib/target-supports.exp: Add RISC-V.
+
+2023-11-07  Alexandre Oliva  <oliva@adacore.com>
+
+       * lib/target-supports.exp
+       (check_effective_target_opt_mstrict_align): New.
+       * gcc.dg/strlenopt-80.c: Add -mno-strict-align if supported.
+       * gcc.target/powerpc/prefix-ds-dq.c: Likewise.
+       * gcc.target/powerpc/p9-vec-length-epil-1.c: Likewise.
+       * gcc.target/powerpc/p9-vec-length-epil-2.c: Likewise.
+       * gcc.target/powerpc/p9-vec-length-epil-3.c: Likewise.
+       * gcc.target/powerpc/p9-vec-length-epil-4.c: Likewise.
+       * gcc.target/powerpc/p9-vec-length-epil-5.c: Likewise.
+       * gcc.target/powerpc/p9-vec-length-epil-6.c: Likewise.
+       * gcc.target/powerpc/p9-vec-length-epil-7.c: Likewise.
+       * gcc.target/powerpc/p9-vec-length-epil-8.c: Likewise.
+       * gcc.target/powerpc/p9-vec-length-epil-run-1.c: Likewise.
+       * gcc.target/powerpc/p9-vec-length-epil-run-2.c: Likewise.
+       * gcc.target/powerpc/p9-vec-length-epil-run-3.c: Likewise.
+       * gcc.target/powerpc/p9-vec-length-epil-run-4.c: Likewise.
+       * gcc.target/powerpc/p9-vec-length-epil-run-5.c: Likewise.
+       * gcc.target/powerpc/p9-vec-length-epil-run-6.c: Likewise.
+       * gcc.target/powerpc/p9-vec-length-epil-run-7.c: Likewise.
+       * gcc.target/powerpc/p9-vec-length-epil-run-8.c: Likewise.
+       * gcc.target/powerpc/p9-vec-length-full-1.c: Likewise.
+       * gcc.target/powerpc/p9-vec-length-full-2.c: Likewise.
+       * gcc.target/powerpc/p9-vec-length-full-3.c: Likewise.
+       * gcc.target/powerpc/p9-vec-length-full-4.c: Likewise.
+       * gcc.target/powerpc/p9-vec-length-full-5.c: Likewise.
+       * gcc.target/powerpc/p9-vec-length-full-6.c: Likewise.
+       * gcc.target/powerpc/p9-vec-length-full-7.c: Likewise.
+       * gcc.target/powerpc/p9-vec-length-full-8.c: Likewise.
+       * gcc.target/powerpc/p9-vec-length-full-run-1.c: Likewise.
+       * gcc.target/powerpc/p9-vec-length-full-run-2.c: Likewise.
+       * gcc.target/powerpc/p9-vec-length-full-run-3.c: Likewise.
+       * gcc.target/powerpc/p9-vec-length-full-run-4.c: Likewise.
+       * gcc.target/powerpc/p9-vec-length-full-run-5.c: Likewise.
+       * gcc.target/powerpc/p9-vec-length-full-run-6.c: Likewise.
+       * gcc.target/powerpc/p9-vec-length-full-run-7.c: Likewise.
+       * gcc.target/powerpc/p9-vec-length-full-run-8.c: Likewise.
+
+2023-11-07  Christoph Müllner  <christoph.muellner@vrull.eu>
+
+       * gcc.target/riscv/xtheadmemidx-helpers.h:
+       Replace stdint.h with stdint-gcc.h.
+
+2023-11-07  Christoph Müllner  <christoph.muellner@vrull.eu>
+
+       * gcc.target/riscv/xtheadfmemidx-index-update.c: Add ABI.
+       * gcc.target/riscv/xtheadfmemidx-index-xtheadbb-update.c: Likewise.
+       * gcc.target/riscv/xtheadfmemidx-index-xtheadbb.c: Likewise.
+       * gcc.target/riscv/xtheadfmemidx-index.c: Likewise.
+       * gcc.target/riscv/xtheadfmemidx-uindex-update.c: Likewise.
+       * gcc.target/riscv/xtheadfmemidx-uindex-xtheadbb-update.c: Likewise.
+       * gcc.target/riscv/xtheadfmemidx-uindex-xtheadbb.c: Likewise.
+       * gcc.target/riscv/xtheadfmemidx-uindex.c: Likewise.
+
+2023-11-07  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
+
+       * gcc.dg/vect/bb-slp-cond-1.c: Add riscv.
+
+2023-11-07  Jiufu Guo  <guojiufu@linux.ibm.com>
+
+       PR target/112340
+       * gcc.target/powerpc/pr106550_1.c: Add has_arch_ppc64 target require.
+
+2023-11-07  Lehua Ding  <lehua.ding@rivai.ai>
+
+       * gcc.target/riscv/rvv/autovec/cond/cond_widen_reduc-1.c:
+       * gcc.target/riscv/rvv/autovec/cond/cond_widen_reduc-2.c:
+
+2023-11-07  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
+
+       * gcc.dg/vect/vect-sdiv-pow2-1.c: Fix dump check.
+
+2023-11-07  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
+
+       * gcc.dg/vect/slp-reduc-sad.c: Fix check.
+       * gcc.dg/vect/vect-reduc-sad.c: Ditto.
+
+2023-11-07  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
+
+       * gcc.dg/vect/bb-slp-43.c: Fix XPASS for RVV.
+
+2023-11-07  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
+
+       PR target/112399
+       * gcc.target/riscv/rvv/vsetvl/imm_switch-2.c: Adapt test.
+       * gcc.target/riscv/rvv/autovec/pr112399.c: New test.
+
+2023-11-07  Pan Li  <pan2.li@intel.com>
+
+       * gcc.target/riscv/rvv/autovec/unop/math-iceil-1.c: New test.
+       * gcc.target/riscv/rvv/autovec/unop/math-iceil-run-1.c: New test.
+       * gcc.target/riscv/rvv/autovec/unop/math-lceil-rv32-0.c: New test.
+       * gcc.target/riscv/rvv/autovec/unop/math-lceil-rv32-run-0.c: New test.
+       * gcc.target/riscv/rvv/autovec/unop/math-lceilf-rv64-0.c: New test.
+       * gcc.target/riscv/rvv/autovec/unop/math-lceilf-rv64-run-0.c: New test.
+       * gcc.target/riscv/rvv/autovec/unop/math-llceilf-0.c: New test.
+       * gcc.target/riscv/rvv/autovec/unop/math-llceilf-run-0.c: New test.
+       * gcc.target/riscv/rvv/autovec/vls/math-iceil-1.c: New test.
+       * gcc.target/riscv/rvv/autovec/vls/math-lceil-rv32-0.c: New test.
+       * gcc.target/riscv/rvv/autovec/vls/math-lceilf-rv64-0.c: New test.
+       * gcc.target/riscv/rvv/autovec/vls/math-llceilf-0.c: New test.
+
+2023-11-07  Pan Li  <pan2.li@intel.com>
+
+       Revert:
+       2023-11-07  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
+
+       * gcc.dg/vect/bb-slp-cond-1.c: Fix FAIL.
+
+2023-11-07  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
+
+       * gcc.dg/vect/bb-slp-cond-1.c: Fix FAIL.
+
+2023-11-07  Juzhe-Zhong  <juzhe.zhong@rivai.ai>
+
+       * gcc.dg/vect/bb-slp-39.c: Add RISCV.
+
 2023-11-06  Florian Weimer  <fweimer@redhat.com>
 
        * gcc.dg/cpp/wchar-1.c (main): Call __builtin_abort instead of
index fea53c8c50f3dfe5f051da16f53bf4454f54a3be..56c2cd7f5af166e3d110ebb21af9b9c78a093acc 100644 (file)
@@ -1,3 +1,8 @@
+2023-11-07  Kwok Cheung Yeung  <kcy@codesourcery.com>
+
+       * gomp-constants.h (GOMP_VERSION): Increment to 3.
+       (GOMP_VERSION_SUPPORTS_INDIRECT_FUNCS): New.
+
 2023-10-25  Chung-Lin Tang  <cltang@codesourcery.com>
 
        * gomp-constants.h (GOACC_FLAG_LOCAL_DEVICE): New flag bit value.
index 3ca537cfd71d55e8fee146fd70abff6efa9bab55..5ca3b518df721557e0852ed688b15f9c6adb9b7f 100644 (file)
@@ -1,3 +1,24 @@
+2023-11-07  Joseph Myers  <joseph@codesourcery.com>
+
+       * directives.cc: Refer to C23 instead of C2X in diagnostics and
+       comments.
+       (STDC2X): Rename to STDC23.
+       * expr.cc: Use cpp_warn_c11_c23_compat instead of
+       cpp_warn_c11_c2x_compat and CPP_W_C11_C23_COMPAT instead of
+       CPP_W_C11_C2X_COMPAT.  Refer to C23 instead of C2X in diagnostics
+       and comments.
+       * include/cpplib.h: Refer to C23 instead of C2X in diagnostics and
+       comments.
+       (CLK_GNUC2X): Rename to CLK_GNUC23.
+       (CLK_STDC2X): Rename to CLK_STDC23.
+       (CPP_W_C11_C2X_COMPAT): Rename to CPP_W_C11_C23_COMPAT.
+       * init.cc: Use GNUC23 instead of GNUC2X, STDC23 instead of STDC2X
+       and cpp_warn_c11_c23_compat instead of cpp_warn_c11_c2x_compat.
+       * lex.cc (maybe_va_opt_error): Refer to C23 instead of C2X in
+       diagnostic.
+       * macro.cc (_cpp_arguments_ok): Refer to C23 instead of C2X in
+       comment.
+
 2023-11-02  Jakub Jelinek  <jakub@redhat.com>
 
        PR c++/110342
index 8bc90ef2ddbeab476e9e56ca2d1079d990c4e1b4..7ec3301909dfae827f61de2fc930002b7acf28b9 100644 (file)
@@ -1,3 +1,10 @@
+2023-11-07  Kwok Cheung Yeung  <kcy@codesourcery.com>
+
+       * offloadstuff.c (OFFLOAD_IND_FUNC_TABLE_SECTION_NAME): New.
+       (__offload_ind_func_table): New.
+       (__offload_ind_funcs_end): New.
+       (__OFFLOAD_TABLE__): Add entries for indirect functions.
+
 2023-11-03  Thomas Schwinge  <thomas@codesourcery.com>
 
        * config/gcn/gthr-gcn.h (__gthread_getspecific): 's%NULL%0'.
index e2a674667a007aa74e7fa5230aa7118ff866154d..bcd5fa325878061025329ca52ad9baef163acbf3 100644 (file)
@@ -1,3 +1,49 @@
+2023-11-07  Kwok Cheung Yeung  <kcy@codesourcery.com>
+
+       * config/linux/target-indirect.c: Move to...
+       * target-indirect.c: ...here.
+
+2023-11-07  Kwok Cheung Yeung  <kcy@codesourcery.com>
+
+       * Makefile.am (libgomp_la_SOURCES): Add target-indirect.c.
+       * Makefile.in: Regenerate.
+       * libgomp-plugin.h (GOMP_INDIRECT_ADDR_MAP): New define.
+       (GOMP_OFFLOAD_load_image): Add extra argument.
+       * libgomp.h (struct indirect_splay_tree_key_s): New.
+       (indirect_splay_tree_node, indirect_splay_tree,
+       indirect_splay_tree_key): New.
+       (indirect_splay_compare): New.
+       * libgomp.map (GOMP_5.1.1): Add GOMP_target_map_indirect_ptr.
+       * libgomp.texi (OpenMP 5.1): Update documentation on indirect
+       calls in target region and on indirect clause.
+       (Other new OpenMP 5.2 features): Add entry for virtual function calls.
+       * libgomp_g.h (GOMP_target_map_indirect_ptr): Add prototype.
+       * oacc-host.c (host_load_image): Add extra argument.
+       * target.c (gomp_load_image_to_device): If the GOMP_VERSION is high
+       enough, read host indirect functions table and pass to
+       load_image_func.
+       * config/accel/target-indirect.c: New.
+       * config/linux/target-indirect.c: New.
+       * config/gcn/team.c (build_indirect_map): Add prototype.
+       (gomp_gcn_enter_kernel): Initialize support for indirect
+       function calls on GCN target.
+       * config/nvptx/team.c (build_indirect_map): Add prototype.
+       (gomp_nvptx_main): Initialize support for indirect function
+       calls on NVPTX target.
+       * plugin/plugin-gcn.c (struct gcn_image_desc): Add field for
+       indirect functions count.
+       (GOMP_OFFLOAD_load_image): Add extra argument.  If the GOMP_VERSION
+       is high enough, build address translation table and copy it to target
+       memory.
+       * plugin/plugin-nvptx.c (nvptx_tdata): Add field for indirect
+       functions count.
+       (GOMP_OFFLOAD_load_image): Add extra argument.  If the GOMP_VERSION
+       is high enough, Build address translation table and copy it to target
+       memory.
+       * testsuite/libgomp.c-c++-common/declare-target-indirect-1.c: New.
+       * testsuite/libgomp.c-c++-common/declare-target-indirect-2.c: New.
+       * testsuite/libgomp.c++/declare-target-indirect-1.C: New.
+
 2023-11-05  Jakub Jelinek  <jakub@redhat.com>
 
        * libgomp.texi (Enabling OpenMP): Adjust wording for attribute syntax
index fa00651462fa11ac6d3ca1290c2a806e9f481ee4..9b9a48c833ad395805cba8d53b5f9d964db4549e 100644 (file)
@@ -1,3 +1,17 @@
+2023-11-07  François Dumont  <fdumont@gcc.gnu.org>
+
+       * include/bits/hashtable_policy.h
+       (_Hashtable_alloc<>::_M_allocate_node): Add missing call to node destructor
+       on construct exception.
+
+2023-11-07  Richard Biener  <rguenther@suse.de>
+
+       PR libstdc++/112351
+       * src/c++98/locale.cc (locale::facet::_S_initialize_once):
+       Check whether _S_c_locale is already initialized.
+       (locale::facet::_S_get_c_locale): Always perform non-threadsafe
+       init when threadsafe init failed.
+
 2023-11-06  Ian Lance Taylor  <iant@golang.org>
 
        PR libbacktrace/111315