diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | contrib/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/ChangeLog | 171 | ||||
-rw-r--r-- | gcc/DATESTAMP | 2 | ||||
-rw-r--r-- | gcc/ada/ChangeLog | 248 | ||||
-rw-r--r-- | gcc/c/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/cp/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/fortran/ChangeLog | 21 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 55 | ||||
-rw-r--r-- | include/ChangeLog | 9 | ||||
-rw-r--r-- | libgomp/ChangeLog | 42 | ||||
-rw-r--r-- | libiberty/ChangeLog | 10 | ||||
-rw-r--r-- | liboffloadmic/ChangeLog | 7 |
13 files changed, 590 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2022-07-04 Martin Liska <mliska@suse.cz> + + * MAINTAINERS: fix sorting of names + 2022-07-03 Immad Mir <mirimmad17@gmail.com> * MAINTAINERS: add myself. diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 4c3e467..be06767 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,7 @@ +2022-07-04 Martin Liska <mliska@suse.cz> + + * git-descr.sh: By default print revision for HEAD. + 2022-06-28 Lewis Hyatt <lhyatt@gmail.com> * unicode/README: Added instructions for updating ucnid.h. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a7bf96a..879f9e5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,174 @@ +2022-07-04 Aldy Hernandez <aldyh@redhat.com> + + * gimple-range-fold.cc + (fold_using_range::range_of_ssa_name_with_loop_info): Restrict the + call to SCEV for irange supported types. + (fold_using_range::range_of_builtin_int_call): Convert to vrange. + * gimple-range.cc (gimple_ranger::prefill_stmt_dependencies): Same. + * tree-ssa-dom.cc (cprop_operand): Same. + +2022-07-04 Roger Sayle <roger@nextmovesoftware.com> + + PR target/104489 + * calls.cc (precompute_register_parameters): Allow promotion + of floating point values to be passed in wider integer modes + by calling new convert_float_to_wider_int. + (expand_call): Allow floating point results to be returned in + wider integer modes by calling new convert wider_int_to_float. + * cfgexpand.cc (expand_value_return): Allow backends to promote + a scalar floating point return value to a wider integer mode + by calling new convert_float_to_wider_int. + * expr.cc (convert_float_to_wider_int): New function. + (convert_wider_int_to_float): Likewise. + (expand_expr_real_1) <expand_decl_rtl>: Allow backends to promote + scalar FP PARM_DECLs to wider integer modes, by calling new + convert_wider_int_to_float. + * expr.h (convert_modes): Name arguments for improved documentation. + (convert_float_to_wider_int): Prototype new function here. + (convert_wider_int_to_float): Likewise. + * function.cc (assign_parm_setup_stack): Allow floating point + values to be passed on the stack as wider integer modes by + calling new convert_wider_int_to_float. + +2022-07-04 Martin Jambor <mjambor@suse.cz> + + PR tree-optimization/105860 + * tree-sra.cc (build_reconstructed_reference): Start expr + traversal only just below the outermost union. + +2022-07-04 Richard Biener <rguenther@suse.de> + + * tree-vect-loop-manip.cc (vect_do_peeling): Revert assert + and update virtual SSA form again. Assert we do so for + a known set of transforms only. + * tree-vectorizer.h (vec_info::any_known_not_updated_vssa): New. + * tree-vect-stmts.cc (vectorizable_load): When vectorizing + using load-lanes allow virtual SSA update. + +2022-07-04 Tobias Burnus <tobias@codesourcery.com> + Chung-Lin Tang <cltang@codesourcery.com> + Thomas Schwinge <thomas@codesourcery.com> + + * config/gcn/mkoffload.cc (process_asm): Write '#include <stdint.h>'. + (process_obj): Pass omp_requires_mask to GOMP_offload_register_ver. + (main): Ask lto1 to obtain omp_requires_mask and pass it on. + * config/nvptx/mkoffload.cc (process, main): Likewise. + * lto-cgraph.cc (omp_requires_to_name): New. + (input_offload_tables): Save omp_requires_mask. + (output_offload_tables): Read it, check for consistency, + save value for mkoffload. + * omp-low.cc (lower_omp_target): Force output_offloadtables + call for OMP_REQUIRES_TARGET_USED. + +2022-07-04 Richard Biener <rguenther@suse.de> + + * tree-vect-loop-manip.cc (vect_do_peeling): Assert that + no SSA update is needed instead of updating virtual SSA + form. + * tree-vect-stmts.cc (vectorizable_load): For hoisted + invariant load use the loop entry virtual use. + For emulated gather loads use the virtual use of the + original stmt like vect_finish_stmt_generation would do. + +2022-07-04 Eric Botcazou <ebotcazou@adacore.com> + + * tree-pretty-print.cc (dump_generic_node) <ARRAY_TYPE>: Add guard + for direct circularity. + +2022-07-04 Eric Botcazou <ebotcazou@adacore.com> + + * dwarf2out.cc (gen_array_type_die): Use the default lower bound of + the language for vector types. + +2022-07-04 Aldy Hernandez <aldyh@redhat.com> + + * value-range-storage.cc (irange_storage_slot::set_irange): Set + nonzero bits in irange. + (irange_storage_slot::get_irange): Get nonzero bits from irange. + * value-range.cc (irange::operator=): Set nonzero bits. + (irange::irange_set): Same. + (irange::irange_set_anti_range): Same. + (irange::set): Same. + (irange::verify_range): Same. + (irange::legacy_equal_p): Check nonzero bits. + (irange::equal_p): Same. + (irange::contains_p): Handle nonzero bits. + (irange::irange_union): Same. + (irange::irange_intersect): Same. + (irange::dump): Same. + (irange::set_nonzero_bits): New. + (irange::get_nonzero_bits): New. + (irange::intersect_nonzero_bits): New. + (irange::union_nonzero_bits): New. + (irange::dump_bitmasks): New. + * value-range.h (class irange): Add m_nonzero_mask. + (gt_ggc_mx): Handle nonzero bits. + (gt_pch_nx): Same. + (irange::set_undefined): Set nonzero bits. + (irange::set_varying): Same. + (irange::normalize_kind): Call set_undefined. + +2022-07-04 Richard Biener <rguenther@suse.de> + + * tree-ssa-loop-manip.h + (rewrite_virtuals_into_loop_closed_ssa): Remove. + (rewrite_into_loop_closed_ssa_1): Likewise. + * tree-ssa-loop-manip.cc (rewrite_into_loop_closed_ssa_1): + Make static. + (rewrite_into_loop_closed_ssa): Remove loop overload, + always rewrite virtuals into LC SSA. + (check_loop_closed_ssa_bb): Also check virtuals. + * tree-ssa-dce.cc (remove_dead_phis): Preserve virtual + LC PHIs when in LC SSA. + * gimple-loop-jam.cc (fuse_loops): Do not rewrite into + loop-closed SSA here, but ... + (tree_loop_unroll_and_jam): ... here once. + * tree-if-conv.cc (version_loop_for_if_conversion): Use + the cheaper TODO_update_ssa_no_phi. + * tree-loop-distribution.cc (version_loop_by_alias_check): + Likewise. + * tree-ssa-loop-unswitch.cc (tree_unswitch_single_loop): + Likewise. + * tree-vect-loop-manip.cc (vect_loop_versioning): Likewise. + (tree_unswitch_outer_loop): Do not rewrite virtuals into + LC ssa. + * tree-parloops.cc (transform_to_exit_first_loop_alt): + Likewise. + (pass_parallelize_loops::execute): After finishing rewrite + into LC SSA again because we do not maintain it properly. + +2022-07-04 Richard Biener <rguenther@suse.de> + + PR tree-optimization/106055 + * graphite.cc (canonicalize_loop_closed_ssa): Check whether + we can propagate. + +2022-07-04 Haochen Jiang <haochen.jiang@intel.com> + + PR target/43618 + * config/i386/sse.md (extendv2sfv2df2): New define_expand. + (sse2_cvtps2pd_<mask_name>): Change constraint of operands[1]. + (*sse2_cvtps2pd_<mask_name>_1): Rename from extendvsdfv2df2. + +2022-07-04 Aldy Hernandez <aldyh@redhat.com> + + * ipa-cp.cc (ipcp_vr_lattice::meet_with_1): Use operator!=. + * ipa-prop.cc (struct ipa_vr_ggc_hash_traits): Same. + * tree-ssa-loop-unswitch.cc (struct unswitch_predicate): Use set + with two arguments. + (find_unswitching_predicates_for_bb): Same. + * tree-vrp.cc (range_fold_unary_symbolics_p): Same. + * value-range-equiv.cc (value_range_equiv::equal_p): Use operator==. + * value-range.cc (irange::equal_p): Rename to... + (irange::operator==): ...this. + * value-range.h (irange::set): Remove. + (irange::operator==): Remove. + (irange::set_zero): Use set with two arguments. + * vr-values.cc (vr_values::extract_range_from_binary_expr): Same. + (vr_values::extract_range_from_unary_expr): Same. + (check_for_binary_op_overflow): Same. + (bounds_of_var_in_loop): Same. + 2022-07-03 H.J. Lu <hjl.tools@gmail.com> PR target/106022 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index d929766..7111af0 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20220704 +20220705 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 1434ebe..570579b 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,251 @@ +2022-07-04 Eric Botcazou <ebotcazou@adacore.com> + + * sem_disp.adb (Check_Dispatching_Call): Merge the two special cases + where there are no controlling actuals but tag-indeternminate ones. + +2022-07-04 Eric Botcazou <ebotcazou@adacore.com> + + * exp_disp.adb (Expand_Dispatching_Call): Fix detection of calls + that are dispatching on tagged result. + +2022-07-04 Doug Rupp <rupp@adacore.com> + + * Makefile.rtl (ADA_EXCLUDE_SRCS): Add s-qnx.ads. + +2022-07-04 Eric Botcazou <ebotcazou@adacore.com> + + * exp_ch3.adb (Expand_N_Object_Declaration) <OK_To_Rename_Ref>: New + local function. + <Rewrite_As_Renaming>: Change to a local variable whose value is + computed once and generate a call to Finalize after this is done. + Simplify the code creating the renaming at the end. + +2022-07-04 Doug Rupp <rupp@adacore.com> + + * Makefile.rtl (GCC_SPEC_FILES): Remove vxworks cert files. + +2022-07-04 Piotr Trojanek <trojanek@adacore.com> + + * sem_attr.adb (Resolve_Attribute): Refactor duplicated code for + Count and Index attributes. + +2022-07-04 Eric Botcazou <ebotcazou@adacore.com> + + * checks.adb (Apply_Length_Check_On_Assignment): Return early if + the Suppress_Assignment_Checks flag is set. + (Selected_Range_Checks): Deal with conditional expressions. + * exp_ch4.adb (Too_Large_Length_For_Array): New constant. + (Expand_Concatenate): Use it in lieu of Too_Large_Max_Length. + (Expand_N_If_Expression): If the result has a unidimensional array + type but the dependent expressions have constrained subtypes with + known bounds, create a static temporary on the stack with a subtype + covering the result. + (Get_First_Index_Bounds): Deal with string literals. + * uintp.ads (Uint_256): New deferred constant. + * sinfo.ads (Suppress_Assignment_Checks): Document new usage. + +2022-07-04 Eric Botcazou <ebotcazou@adacore.com> + + * exp_ch3.adb (Expand_N_Object_Declaration.Rewrite_As_Renaming): + Do not rewrite if the declaration has got constraints. + * sinfo.ads (Case Expression Alternative): Fix typo. + +2022-07-04 Eric Botcazou <ebotcazou@adacore.com> + + * exp_ch3.adb (Expand_N_Object_Declaration.Rewrite_As_Renaming): + Be prepared for slices. + * exp_ch4.adb (Get_First_Index_Bounds): New procedure. + (Expand_Array_Comparison.Length_Less_Than_4): Call it. + (Expand_Concatenate): Try to compute a maximum length for + operands with variable length and a maximum total length at the + end. If the concatenation is dynamic, but a sensible maximum + total length has been computed, use this length to create a + static array subtype for the temporary and return a slice of it. + +2022-07-04 Steve Baird <baird@adacore.com> + + * sem_ch3.adb (Check_Possible_Deferred_Completion): Delete + Prev_Obj_Def formal parameter. Reorganize code so that + statically matching check is also performed in the case where + the subtype given in the initial declaration is constrained and + the subtype given in the completion is not. + +2022-07-04 Bob Duff <duff@adacore.com> + + * einfo-utils.ads, einfo-utils.adb: Add predicates on subtypes E + and N. Change some parameters to use the unpredicated subtypes, + because they sometimes return e.g. Empty. Note that N_Entity_Id + has a predicate; Entity_Id does not. + * exp_tss.adb (Base_Init_Proc): Use Entity_Id instead of E, + because otherwise we fail the predicate. We shouldn't be + referring to single-letter names from far away anyway. + * sem_aux.adb (Is_Derived_Type): Likewise. + * sem_res.adb (Is_Definite_Access_Type): Use N_Entity_Id for + predicate. + * types.ads (Entity_Id): Add comment explaining the difference + between Entity_Id and N_Entity_Id. + +2022-07-04 Justin Squirek <squirek@adacore.com> + + * exp_util.adb (Remove_Side_Effects): Combine identical + branches. + * sem_attr.adb (Analyze_Attribute): Combine identical cases + Attribute_Has_Same_Storage and Attribute_Overlaps_Storage. + * sem_prag.adb (Check_Role): Combine E_Out_Parameter case with + general case for parameters. + * sem_util.adb (Accessibility_Level): Combine identical + branches. + * sprint.adb (Sprint_Node_Actual): Combine cases for + N_Real_Range_Specification and N_Signed_Integer_Type_Definition. + +2022-07-04 Justin Squirek <squirek@adacore.com> + + * libgnat/s-os_lib.adb (Quote_Argument): Modify the result + buffer size calculation to handle the case where Arg'Length is + 1. + +2022-07-04 Bob Duff <duff@adacore.com> + + * exp_util.adb (Expand_Subtype_From_Expr): Generate a new + subtype when Is_Constr_Subt_For_UN_Aliased is True, so the + Is_Constr_Subt_For_U_Nominal flag will not be set on the + preexisting subtype. + * sem_attr.adb, sem_ch3.adb: Minor. + +2022-07-04 Eric Botcazou <ebotcazou@adacore.com> + + * debug.adb (d.9): Remove usage. + * exp_ch6.adb (Expand_Simple_Function_Return): Remove redundant + test on Debug_Flag_Dot_L. + (Is_Build_In_Place_Result_Type): Return false for nonlimited types. + (Is_Build_In_Place_Function): Tidy up and remove redundant test on + Debug_Flag_Dot_L. + +2022-07-04 Eric Botcazou <ebotcazou@adacore.com> + + * exp_ch3.adb (Expand_N_Object_Declaration): Don't adjust the object + if the expression is a function call. + <Rewrite_As_Renaming>: Return true if the object needs finalization + and is initialized with the result of a function call returned on + the secondary stack. + * exp_ch6.adb (Expand_Ctrl_Function_Call): Add Use_Sec_Stack boolean + parameter. Early return if the parent is an object declaration and + Use_Sec_Stack is false. + (Expand_Call_Helper): Adjust call to Expand_Ctrl_Function_Call. + * exp_ch7.adb (Find_Last_Init): Be prepared for initialization still + present in the object declaration. + * sem_ch3.adb (Analyze_Object_Declaration): Call the predicates + Needs_Secondary_Stack and Needs_Finalization to guard the renaming + optimization. + +2022-07-04 Bob Duff <duff@adacore.com> + + * libgnat/a-cbhase.ads, libgnat/a-cborse.ads, + libgnat/a-cihase.ads, libgnat/a-ciorse.ads, + libgnat/a-cohase.ads, libgnat/a-coorse.ads (Key): New function + that takes a Container parameter, implemented as an expression + function, so it is self explanatory (doesn't need a comment). + +2022-07-04 Vasiliy Fofanov <fofanov@adacore.com> + + * doc/gnat_rm/the_gnat_library.rst: Fix length of title + underlines. + +2022-07-04 Steve Baird <baird@adacore.com> + + * sem_ch4.adb (Analyze_Allocator): After calling Insert_Action + to insert a subtype declaration associated with an allocator, + the subtype declaration will usually be analyzed. But not + always. Add an explicit call to Preanalyze to cope with the + unusual case. The subtype declaration must be at least + preanalyzed before the call to Sem_Ch3.Process_Subtype a little + while later, during which we analyze an identifier that refers + to the subtype. + +2022-07-04 Steve Baird <baird@adacore.com> + + * sem_warn.adb (Warn_On_Constant_Valid_Condition): Do not + generate a warning if the expression in question is an assertion + expression, or a subexpression thereof. But do call + Test_Comparison so that it can generate warnings for the cases + that it generates warnings for. + * sem_prag.ads: Modify Assertion_Expression_Pragma constant so + that the predicate Sem_Util.In_Assertion_Expression_Pragma + returns True for the expression of a Compile_Time_Error pragma. + +2022-07-04 Julien Bortolussi <bortolussi@adacore.com> + + * doc/gnat_rm/the_gnat_library.rst: Add the new entry. + * gnat_rm.texi: Regenerate. + +2022-07-04 Eric Botcazou <ebotcazou@adacore.com> + + * sem_res.adb (Resolve_Comparison_Op): Deal with ambiguous operands + in all cases. + (Resolve_Equality_Op): Likewise, except for the case of the implicit + inequality operator created for a user-defined operator that is not + an intrinsic subprogram. + +2022-07-04 Bob Duff <duff@adacore.com> + + * libgnat/a-cbhase.adb, libgnat/a-cbhase.ads, + libgnat/a-cborse.adb, libgnat/a-cborse.ads, + libgnat/a-cihase.adb, libgnat/a-cihase.ads, + libgnat/a-ciorse.adb, libgnat/a-ciorse.ads, + libgnat/a-cohase.adb, libgnat/a-cohase.ads, + libgnat/a-conhel.adb, libgnat/a-conhel.ads, + libgnat/a-coorse.adb, libgnat/a-coorse.ads: Add Has_Element, + Element, Query_Element, and Next subprograms that take a Set + parameter. Add Tampering_With_Cursors_Prohibited function. These + are all new in Ada 2022. + +2022-07-04 Claire Dross <dross@adacore.com> + + * doc/gnat_rm/the_gnat_library.rst: Functional vectors, sets, + and maps are now controlled. + * gnat_rm.texi: Regenerate. + +2022-07-04 Claire Dross <dross@adacore.com> + + * doc/gnat_ugn/building_executable_programs_with_gnat.rst + (Debugging and Assertion Control): Add GNAT specific assertion + pragmas to the equivalent Assertion_Policy for the -gnata + option. + * gnat_ugn.texi: Regenerate. + +2022-07-04 Justin Squirek <squirek@adacore.com> + + * sem_disp.adb (Most_Descendant_Use_Clause): Remove call to + deprecated Is_Internal. + * sem_util.adb (Innermost_Master_Scope_Depth): Use + Find_Enclosing_Scope instead of Nearest_Dynamic_Scope to avoid + cases where relevant scopes get skipped leading to an incorrect + scope depth calculation. + +2022-07-04 Eric Botcazou <ebotcazou@adacore.com> + + * exp_ch6.adb (Build_In_Place_Formal): Also compute Returns_By_Ref + for the function if the extra formals were not built initially. + +2022-07-04 Piotr Trojanek <trojanek@adacore.com> + + * sem_ch13.adb (Resolve_Iterable_Operation): Add guard to + prevent crash when the examined function has no formal + parameters and Etype is called on Empty entity. + +2022-07-04 Julien Bortolussi <bortolussi@adacore.com> + + * libgnat/a-cfinse.adb, libgnat/a-cfinse.ads: Implementation + files of the sequence. + * Makefile.rtl, impunit.adb: Take into account the add of the + new files + +2022-07-04 Eric Botcazou <ebotcazou@adacore.com> + + * doc/gnat_rm/implementation_defined_pragmas.rst (Pure_Function): + Fix ambiguous wording about context dependence. + * gnat_rm.texi: Regenerate. + 2022-06-02 David Malcolm <dmalcolm@redhat.com> * gcc-interface/misc.cc (gnat_get_sarif_source_language): New. diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 8a0b71a..989f293 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,12 @@ +2022-07-04 Tobias Burnus <tobias@codesourcery.com> + Chung-Lin Tang <cltang@codesourcery.com> + Thomas Schwinge <thomas@codesourcery.com> + + * c-parser.cc (c_parser_omp_target_data, c_parser_omp_target_update, + c_parser_omp_target_enter_data, c_parser_omp_target_exit_data): Set + OMP_REQUIRES_TARGET_USED. + (c_parser_omp_requires): Remove sorry. + 2022-07-01 Tobias Burnus <tobias@codesourcery.com> * c-parser.cc (c_parser_omp_target_enter_data, diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 28e030f..b0bd3b4 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,12 @@ +2022-07-04 Tobias Burnus <tobias@codesourcery.com> + Chung-Lin Tang <cltang@codesourcery.com> + Thomas Schwinge <thomas@codesourcery.com> + + * parser.cc (cp_parser_omp_target_data, + cp_parser_omp_target_enter_data, cp_parser_omp_target_exit_data, + cp_parser_omp_target_update): Set OMP_REQUIRES_TARGET_USED. + (cp_parser_omp_requires): Remove sorry. + 2022-07-01 Lewis Hyatt <lhyatt@gmail.com> * parser.cc (cp_token_is_module_directive): New function diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index ea9354c..9bde368 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,24 @@ +2022-07-04 Tobias Burnus <tobias@codesourcery.com> + Jakub Jelinek <jakub@redhat.com> + + * gfortran.h (gfc_omp_namelist): Update by creating 'linear' struct, + move 'linear_op' as 'op' to id and add 'old_modifier' to it. + * dump-parse-tree.cc (show_omp_namelist): Update accordingly. + * module.cc (mio_omp_declare_simd): Likewise. + * trans-openmp.cc (gfc_trans_omp_clauses): Likewise. + * openmp.cc (resolve_omp_clauses): Likewise; accept new-style + 'val' modifier with do/simd. + (gfc_match_omp_clauses): Handle OpenMP 5.2 linear clause syntax. + +2022-07-04 Tobias Burnus <tobias@codesourcery.com> + Chung-Lin Tang <cltang@codesourcery.com> + Thomas Schwinge <thomas@codesourcery.com> + + * openmp.cc (gfc_match_omp_requires): Remove sorry. + * parse.cc (decode_omp_directive): Don't regard 'declare target' + as target usage for 'omp requires'; add more flags to + omp_requires_mask. + 2022-07-01 Tobias Burnus <tobias@codesourcery.com> * dump-parse-tree.cc (show_omp_namelist): For the map-type, diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c5772c7..0a1e58e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,58 @@ +2022-07-05 Hans-Peter Nilsson <hp@axis.com> + + * gcc.dg/analyzer/allocation-size-1.c, + gcc.dg/analyzer/allocation-size-2.c, + gcc.dg/analyzer/allocation-size-3.c, + gcc.dg/analyzer/allocation-size-4.c, + gcc.dg/analyzer/allocation-size-5.c: Handle int32_t being "long int". + +2022-07-04 Tobias Burnus <tobias@codesourcery.com> + Jakub Jelinek <jakub@redhat.com> + + * c-c++-common/gomp/linear-4.c: New test. + * gfortran.dg/gomp/linear-2.f90: New test. + * gfortran.dg/gomp/linear-3.f90: New test. + * gfortran.dg/gomp/linear-4.f90: New test. + * gfortran.dg/gomp/linear-5.f90: New test. + * gfortran.dg/gomp/linear-6.f90: New test. + * gfortran.dg/gomp/linear-7.f90: New test. + * gfortran.dg/gomp/linear-8.f90: New test. + +2022-07-04 Martin Jambor <mjambor@suse.cz> + + PR tree-optimization/105860 + * gcc.dg/tree-ssa/alias-access-path-13.c: New test. + * gcc.dg/tree-ssa/pr105860.c: Likewise. + +2022-07-04 Tobias Burnus <tobias@codesourcery.com> + Chung-Lin Tang <cltang@codesourcery.com> + Thomas Schwinge <thomas@codesourcery.com> + + * c-c++-common/gomp/requires-4.c: Update dg-*. + * c-c++-common/gomp/reverse-offload-1.c: Likewise. + * c-c++-common/gomp/target-device-ancestor-2.c: Likewise. + * c-c++-common/gomp/target-device-ancestor-3.c: Likewise. + * c-c++-common/gomp/target-device-ancestor-4.c: Likewise. + * c-c++-common/gomp/target-device-ancestor-5.c: Likewise. + * gfortran.dg/gomp/target-device-ancestor-3.f90: Likewise. + * gfortran.dg/gomp/target-device-ancestor-4.f90: Likewise. + * gfortran.dg/gomp/target-device-ancestor-5.f90: Likewise. + * gfortran.dg/gomp/target-device-ancestor-2.f90: Likewise. Move + post-FE checks to ... + * gfortran.dg/gomp/target-device-ancestor-2a.f90: ... this new file. + * gfortran.dg/gomp/requires-8.f90: Update as we don't regard + 'declare target' for the 'requires' usage requirement. + +2022-07-04 Richard Biener <rguenther@suse.de> + + PR tree-optimization/106055 + * gcc.dg/graphite/pr106055.c: New testcase. + +2022-07-04 Haochen Jiang <haochen.jiang@intel.com> + + PR target/43618 + * gcc.target/i386/pr43618-1.c: New test. + 2022-07-03 H.J. Lu <hjl.tools@gmail.com> PR target/106022 diff --git a/include/ChangeLog b/include/ChangeLog index 4eab21e..7bad090 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,12 @@ +2022-07-04 Tobias Burnus <tobias@codesourcery.com> + Chung-Lin Tang <cltang@codesourcery.com> + Thomas Schwinge <thomas@codesourcery.com> + + * gomp-constants.h (GOMP_VERSION): Bump to 2. + (GOMP_REQUIRES_UNIFIED_ADDRESS, GOMP_REQUIRES_UNIFIED_SHARED_MEMORY, + GOMP_REQUIRES_REVERSE_OFFLOAD, GOMP_REQUIRES_TARGET_USED): + New defines. + 2022-06-13 Jakub Jelinek <jakub@redhat.com> * gomp-constants.h (GOMP_DEVICE_INVALID): Define. diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 6c4c8d2..83d200f 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,45 @@ +2022-07-04 Tobias Burnus <tobias@codesourcery.com> + Jakub Jelinek <jakub@redhat.com> + + * libgomp.texi (OpenMP 5.2): Mark linear-clause change as 'Y'. + +2022-07-04 Tobias Burnus <tobias@codesourcery.com> + Chung-Lin Tang <cltang@codesourcery.com> + Thomas Schwinge <thomas@codesourcery.com> + + * libgomp-plugin.h (GOMP_OFFLOAD_get_num_devices): Add + omp_requires_mask arg. + * plugin/plugin-gcn.c (GOMP_OFFLOAD_get_num_devices): Likewise; + return -1 when device available but omp_requires_mask != 0. + * plugin/plugin-nvptx.c (GOMP_OFFLOAD_get_num_devices): Likewise. + * oacc-host.c (host_get_num_devices, host_openacc_get_property): + Update call. + * oacc-init.c (resolve_device, acc_init_1, acc_shutdown_1, + goacc_attach_host_thread_to_device, acc_get_num_devices, + acc_set_device_num, get_property_any): Likewise. + * target.c (omp_requires_mask): New global var. + (gomp_requires_to_name): New. + (GOMP_offload_register_ver): Handle passed omp_requires_mask. + (gomp_target_init): Handle omp_requires_mask. + * libgomp.texi (OpenMP 5.0): Update requires impl. status. + (OpenMP 5.1): Add a missed item. + (OpenMP 5.2): Mark linear-clause change as supported in C/C++. + * testsuite/libgomp.c-c++-common/requires-1-aux.c: New test. + * testsuite/libgomp.c-c++-common/requires-1.c: New test. + * testsuite/libgomp.c-c++-common/requires-2-aux.c: New test. + * testsuite/libgomp.c-c++-common/requires-2.c: New test. + * testsuite/libgomp.c-c++-common/requires-3-aux.c: New test. + * testsuite/libgomp.c-c++-common/requires-3.c: New test. + * testsuite/libgomp.c-c++-common/requires-4-aux.c: New test. + * testsuite/libgomp.c-c++-common/requires-4.c: New test. + * testsuite/libgomp.c-c++-common/requires-5-aux.c: New test. + * testsuite/libgomp.c-c++-common/requires-5.c: New test. + * testsuite/libgomp.c-c++-common/requires-6.c: New test. + * testsuite/libgomp.c-c++-common/requires-7-aux.c: New test. + * testsuite/libgomp.c-c++-common/requires-7.c: New test. + * testsuite/libgomp.fortran/requires-1-aux.f90: New test. + * testsuite/libgomp.fortran/requires-1.f90: New test. + 2022-07-01 Tobias Burnus <tobias@codesourcery.com> * libgomp.texi (OpenMP 5.2): Mark target enter/exit data diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index f84e407..547ef8b 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,13 @@ +2022-07-04 Nick Clifton <nickc@redhat.com> + + * rust-demangle.c (demangle_const): Add a missing goto pass_return + at the end of the function. + +2022-07-04 Nick Clifton <nickc@redhat.com> + + * rust-demangle.c (demangle_path_maybe_open_generics): Add + recursion limit. + 2022-07-01 Nick Clifton <nickc@redhat.com> PR demangler/105039 diff --git a/liboffloadmic/ChangeLog b/liboffloadmic/ChangeLog index 4dbc6ba..208abbc 100644 --- a/liboffloadmic/ChangeLog +++ b/liboffloadmic/ChangeLog @@ -1,3 +1,10 @@ +2022-07-04 Tobias Burnus <tobias@codesourcery.com> + Chung-Lin Tang <cltang@codesourcery.com> + Thomas Schwinge <thomas@codesourcery.com> + + * plugin/libgomp-plugin-intelmic.cpp (GOMP_OFFLOAD_get_num_devices): + Return -1 when device available but omp_requires_mask != 0. + 2021-10-19 Martin Liska <mliska@suse.cz> * include/coi/source/COIBuffer_source.h: Convert 2 chars to |