Daily bump.
This commit is contained in:
parent
8d6bd830f5
commit
6e6bb37302
8 changed files with 557 additions and 1 deletions
112
gcc/ChangeLog
112
gcc/ChangeLog
|
@ -1,3 +1,115 @@
|
|||
2023-05-26 Robin Dapp <rdapp@ventanamicro.com>
|
||||
|
||||
* config/riscv/autovec.md (<optab><mode>2): Add vneg/vnot.
|
||||
(abs<mode>2): Add.
|
||||
* config/riscv/riscv-protos.h (emit_vlmax_masked_mu_insn):
|
||||
Declare.
|
||||
* config/riscv/riscv-v.cc (emit_vlmax_masked_mu_insn): New
|
||||
function.
|
||||
|
||||
2023-05-26 Robin Dapp <rdapp@ventanamicro.com>
|
||||
Juzhe Zhong <juzhe.zhong@rivai.ai>
|
||||
|
||||
* config/riscv/autovec.md (<optab><v_double_trunc><mode>2): New
|
||||
expander.
|
||||
(<optab><v_quad_trunc><mode>2): Dito.
|
||||
(<optab><v_oct_trunc><mode>2): Dito.
|
||||
(trunc<mode><v_double_trunc>2): Dito.
|
||||
(trunc<mode><v_quad_trunc>2): Dito.
|
||||
(trunc<mode><v_oct_trunc>2): Dito.
|
||||
* config/riscv/riscv-protos.h (vectorize_related_mode): Define.
|
||||
(autovectorize_vector_modes): Define.
|
||||
* config/riscv/riscv-v.cc (vectorize_related_mode): Implement
|
||||
hook.
|
||||
(autovectorize_vector_modes): Implement hook.
|
||||
* config/riscv/riscv.cc (riscv_autovectorize_vector_modes):
|
||||
Implement target hook.
|
||||
(riscv_vectorize_related_mode): Implement target hook.
|
||||
(TARGET_VECTORIZE_AUTOVECTORIZE_VECTOR_MODES): Define.
|
||||
(TARGET_VECTORIZE_RELATED_MODE): Define.
|
||||
* config/riscv/vector-iterators.md: Add lowercase versions of
|
||||
mode_attr iterators.
|
||||
|
||||
2023-05-26 Andrew Stubbs <ams@codesourcery.com>
|
||||
Tobias Burnus <tobias@codesourcery.com>
|
||||
|
||||
* config/gcn/gcn-hsa.h (XNACKOPT): New macro.
|
||||
(ASM_SPEC): Use XNACKOPT.
|
||||
* config/gcn/gcn-opts.h (enum sram_ecc_type): Rename to ...
|
||||
(enum hsaco_attr_type): ... this, and generalize the names.
|
||||
(TARGET_XNACK): New macro.
|
||||
* config/gcn/gcn.cc (gcn_option_override): Update to sorry for all
|
||||
but -mxnack=off.
|
||||
(output_file_start): Update xnack handling.
|
||||
(gcn_hsa_declare_function_name): Use TARGET_XNACK.
|
||||
* config/gcn/gcn.opt (-mxnack): Add the "on/off/any" syntax.
|
||||
(sram_ecc_type): Rename to ...
|
||||
(hsaco_attr_type: ... this.)
|
||||
* config/gcn/mkoffload.cc (SET_XNACK_ANY): New macro.
|
||||
(TEST_XNACK): Delete.
|
||||
(TEST_XNACK_ANY): New macro.
|
||||
(TEST_XNACK_ON): New macro.
|
||||
(main): Support the new -mxnack=on/off/any syntax.
|
||||
* doc/invoke.texi (-mxnack): Update for new syntax.
|
||||
|
||||
2023-05-26 Andrew Pinski <apinski@marvell.com>
|
||||
|
||||
* genmatch.cc (emit_debug_printf): New function.
|
||||
(dt_simplify::gen_1): Emit printf into the code
|
||||
before the `return true` or returning the folded result
|
||||
instead of emitting it always.
|
||||
|
||||
2023-05-26 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
|
||||
|
||||
* config/xtensa/xtensa-protos.h
|
||||
(xtensa_expand_block_set_unrolled_loop,
|
||||
xtensa_expand_block_set_small_loop): Remove.
|
||||
(xtensa_expand_block_set): New prototype.
|
||||
* config/xtensa/xtensa.cc
|
||||
(xtensa_expand_block_set_libcall): New subfunction.
|
||||
(xtensa_expand_block_set_unrolled_loop,
|
||||
xtensa_expand_block_set_small_loop): Rewrite as subfunctions.
|
||||
(xtensa_expand_block_set): New function that calls the above
|
||||
subfunctions.
|
||||
* config/xtensa/xtensa.md (memsetsi): Change to invoke only
|
||||
xtensa_expand_block_set().
|
||||
|
||||
2023-05-26 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
|
||||
|
||||
* config/xtensa/xtensa-protos.h (xtensa_m1_or_1_thru_15):
|
||||
New prototype.
|
||||
* config/xtensa/xtensa.cc (xtensa_m1_or_1_thru_15):
|
||||
New function.
|
||||
* config/xtensa/constraints.md (O):
|
||||
Change to use the above function.
|
||||
* config/xtensa/xtensa.md (*subsi3_from_const):
|
||||
New insn_and_split pattern.
|
||||
|
||||
2023-05-26 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
|
||||
|
||||
* config/xtensa/xtensa.md (*extzvsi-1bit_ashlsi3):
|
||||
Retract excessive line folding, and correct the value of
|
||||
the "length" insn attribute related to TARGET_DENSITY.
|
||||
(*extzvsi-1bit_addsubx): Ditto.
|
||||
|
||||
2023-05-26 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
* config/i386/i386-expand.cc (ix86_expand_vecop_qihi):
|
||||
Do not disable call to ix86_expand_vecop_qihi2.
|
||||
|
||||
2023-05-26 liuhongt <hongtao.liu@intel.com>
|
||||
|
||||
PR target/109610
|
||||
PR target/109858
|
||||
* ira-costs.cc (scan_one_insn): Only use NO_REGS in cost
|
||||
calculation when !hard_regno_mode_ok for GENERAL_REGS and
|
||||
mode, otherwise still use GENERAL_REGS.
|
||||
|
||||
2023-05-26 Juzhe-Zhong <juzhe.zhong@rivai.ai>
|
||||
|
||||
* config/riscv/riscv.cc (vector_zero_call_used_regs): Add
|
||||
explict VL and drop VL in ops.
|
||||
|
||||
2023-05-25 Jin Ma <jinma@linux.alibaba.com>
|
||||
|
||||
* sched-deps.cc (sched_macro_fuse_insns): Insns should not be fusion
|
||||
|
|
|
@ -1 +1 @@
|
|||
20230526
|
||||
20230527
|
||||
|
|
|
@ -1,3 +1,312 @@
|
|||
2023-05-26 Bob Duff <duff@adacore.com>
|
||||
|
||||
* sem_ch3.adb
|
||||
(Build_Derived_Record_Type): Temporarily set the state of the
|
||||
Derived_Type to "self-hidden" while processing constraints
|
||||
and discriminants of a record extension.
|
||||
|
||||
2023-05-26 Bob Duff <duff@adacore.com>
|
||||
|
||||
* einfo.ads: Add comma.
|
||||
* contracts.adb: Fix typos.
|
||||
* exp_attr.adb: Likewise.
|
||||
* exp_ch5.adb: Likewise.
|
||||
* exp_ch6.adb: Likewise.
|
||||
* lib-xref.adb: Likewise.
|
||||
|
||||
2023-05-26 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* debug.adb (d.N): Document new usage.
|
||||
* exp_ch4.adb (Expand_N_Type_Conversion): Copy the Float_Truncate
|
||||
flag when rewriting a floating-point to fixed-point conversion as
|
||||
a floating-point to integer conversion.
|
||||
* exp_fixd.adb: Add with and use clauses for Debug.
|
||||
(Expand_Convert_Fixed_To_Fixed): Generate a truncation in all cases
|
||||
except if the result is explicitly rounded.
|
||||
(Expand_Convert_Integer_To_Fixed): Likewise.
|
||||
(Expand_Convert_Float_To_Fixed): Generate a truncation for all kind
|
||||
of fixed-point types, except if the result is explicitly rounded, or
|
||||
-gnatd.N is specified and the type is an ordinary fixed-point type.
|
||||
* sinfo.ads (Float_Truncate): Document usage for floating-point to
|
||||
fixed-point conversions.
|
||||
|
||||
2023-05-26 Javier Miranda <miranda@adacore.com>
|
||||
|
||||
* exp_ch4.adb
|
||||
(Expand_N_Allocator): If an allocator with constraints is called
|
||||
in the return statement of a function returning a general access
|
||||
type, then propagate to the itype the master of the general
|
||||
access type (since it is the master associated with the
|
||||
returned object).
|
||||
|
||||
2023-05-26 Yannick Moy <moy@adacore.com>
|
||||
|
||||
* sem_aggr.adb (Resolve_Record_Aggregate): Add dummy initialization and
|
||||
assertion that clarifies when we reassigned to a useful value.
|
||||
|
||||
2023-05-26 Yannick Moy <moy@adacore.com>
|
||||
|
||||
* doc/gnat_rm/gnat_language_extensions.rst: Be more explicit on
|
||||
pattern matching limitation.
|
||||
* gnat_rm.texi: Regenerate.
|
||||
* gnat_ugn.texi: Regenerate.
|
||||
|
||||
2023-05-26 Yannick Moy <moy@adacore.com>
|
||||
|
||||
* libgnat/a-calend.ads: Mark with SPARK_Mode=>Off the functions which may
|
||||
raise Time_Error.
|
||||
* libgnat/a-ngelfu.ads: Mark with SPARK_Mode=>Off the functions which may
|
||||
lead to an overflow (which is not the case of Tan with one parameter for
|
||||
example, or Arctanh or Arcoth, despite their mathematical range covering
|
||||
the reals).
|
||||
* libgnat/a-textio.ads: Remove Always_Return annotation from functions, as
|
||||
this is now compulsory for functions to always return in SPARK.
|
||||
* libgnat/i-cstrin.ads: Add Might_Not_Return annotation to Update procedure
|
||||
which may not return.
|
||||
|
||||
2023-05-26 Bob Duff <duff@adacore.com>
|
||||
|
||||
* exp_put_image.adb (Build_Image_Call): Treat 'Img the same as
|
||||
'Image.
|
||||
* exp_imgv.adb (Expand_Image_Attribute): If Discard_Names, expand
|
||||
to 'Image instead of 'Img.
|
||||
* snames.ads-tmpl, par-ch4.adb, sem_attr.adb, sem_attr.ads:
|
||||
Cleanups: Rename Attribute_Class_Array to be Attribute_Set. Remove
|
||||
unnecessary qualifications. DRY: Don't repeat "True".
|
||||
|
||||
2023-05-26 Piotr Trojanek <trojanek@adacore.com>
|
||||
|
||||
* sem_prag.adb (Record_Possible_Body_Reference): Remove call to Present.
|
||||
* sem_util.adb (Find_Untagged_Type_Of): Likewise.
|
||||
|
||||
2023-05-26 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* exp_aggr.adb (Initialize_Array_Component): Remove obsolete code.
|
||||
(Expand_Array_Aggregate): In the case where a temporary is created
|
||||
and the parent is an assignment statement with No_Ctrl_Actions set,
|
||||
set Is_Ignored_Transient on the temporary.
|
||||
|
||||
2023-05-26 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* sem_ch12.adb (Instantiate_Package_Body): Set the ghost mode to
|
||||
that of the instance only after loading the generic's parent.
|
||||
(Instantiate_Subprogram_Body): Likewise.
|
||||
|
||||
2023-05-26 Piotr Trojanek <trojanek@adacore.com>
|
||||
|
||||
* exp_ch4.adb (Expand_Set_Membership): Simplify by using Evolve_Or_Else.
|
||||
|
||||
2023-05-26 Piotr Trojanek <trojanek@adacore.com>
|
||||
|
||||
* exp_ch4.adb (Is_OK_Object_Reference): Replace loop with a call to
|
||||
Unqual_Conv; consequently, change object from variable to constant;
|
||||
replace an IF statement with an AND THEN expression.
|
||||
|
||||
2023-05-26 Piotr Trojanek <trojanek@adacore.com>
|
||||
|
||||
* exp_ch9.adb
|
||||
(Build_Entry_Count_Expression): Remove loop over component declaration;
|
||||
consequently remove a parameter that is no longer used; adapt callers.
|
||||
(Make_Task_Create_Call): Refine type of a local variable.
|
||||
|
||||
2023-05-26 Piotr Trojanek <trojanek@adacore.com>
|
||||
|
||||
* sem_cat.adb (Check_Non_Static_Default_Expr): Detect components inside
|
||||
loop, not in the loop condition itself.
|
||||
|
||||
2023-05-26 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* libgnat/a-cbdlli.ads (List): Move Nodes component to the end.
|
||||
|
||||
2023-05-26 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* libgnat/a-crdlli.ads (List): Move Nodes component to the end.
|
||||
|
||||
2023-05-26 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* sem_attr.adb (Is_Thin_Pointer_To_Unc_Array): New predicate.
|
||||
(Resolve_Attribute): Apply the static matching legality rule to an
|
||||
Unrestricted_Access attribute applied to an aliased prefix if the
|
||||
type is a thin pointer. Call Is_Thin_Pointer_To_Unc_Array for the
|
||||
aliasing legality rule as well.
|
||||
|
||||
2023-05-26 Piotr Trojanek <trojanek@adacore.com>
|
||||
|
||||
* sem_util.adb (Is_Null_Record_Definition): Use First_Non_Pragma and
|
||||
Next_Non_Pragma to ignore pragmas within component list.
|
||||
|
||||
2023-05-26 Piotr Trojanek <trojanek@adacore.com>
|
||||
|
||||
* sem_prag.adb (Get_Argument): Improve detection of generic units.
|
||||
|
||||
2023-05-26 Piotr Trojanek <trojanek@adacore.com>
|
||||
|
||||
* sem_ch4.adb (Check_Action_OK): Replace low-level test with a
|
||||
high-level routine.
|
||||
* sem_ch13.adb (Is_Predicate_Static): Likewise.
|
||||
|
||||
2023-05-26 Javier Miranda <miranda@adacore.com>
|
||||
|
||||
* exp_ch9.adb
|
||||
(Expand_N_Conditional_Entry_Call): Factorize code to avoid
|
||||
duplicating subtrees; required to avoid problems when the copied
|
||||
code has implicit labels.
|
||||
* sem_util.ads (New_Copy_Separate_List): Removed.
|
||||
(New_Copy_Separate_Tree): Removed.
|
||||
* sem_util.adb (New_Copy_Separate_List): Removed.
|
||||
(New_Copy_Separate_Tree): Removed.
|
||||
|
||||
2023-05-26 Piotr Trojanek <trojanek@adacore.com>
|
||||
|
||||
* sem_ch13.adb (Check_Component_List): Local variable Compl is now
|
||||
a constant; a nested block is no longer needed.
|
||||
|
||||
2023-05-26 Piotr Trojanek <trojanek@adacore.com>
|
||||
|
||||
* sem_aggr.adb
|
||||
(Resolve_Record_Aggregate): Remove useless assignment.
|
||||
* sem_aux.adb
|
||||
(Has_Variant_Part): Remove useless guard; this routine is only called
|
||||
on type entities (and now will crash in other cases).
|
||||
* sem_ch3.adb
|
||||
(Create_Constrained_Components): Only assign Assoc_List when necessary;
|
||||
tune whitespace.
|
||||
(Is_Variant_Record): Refactor repeated calls to Parent.
|
||||
* sem_util.adb
|
||||
(Gather_Components): Assert that discriminant association has just one
|
||||
choice in component_association; refactor repeated calls to Next.
|
||||
* sem_util.ads
|
||||
(Gather_Components): Tune whitespace in comment.
|
||||
|
||||
2023-05-26 Piotr Trojanek <trojanek@adacore.com>
|
||||
|
||||
* sem_ch3.adb (Check_CPP_Type_Has_No_Defaults): Iterate with
|
||||
First_Non_Pragma and Next_Non_Pragma.
|
||||
* exp_dist.adb (Append_Record_Traversal): Likewise.
|
||||
|
||||
2023-05-26 Javier Miranda <miranda@adacore.com>
|
||||
|
||||
* exp_ch9.adb (Build_Class_Wide_Master): Remember internal blocks
|
||||
that have a task master entity declaration.
|
||||
(Build_Master_Entity): Code cleanup.
|
||||
* sem_util.ads (Is_Internal_Block): New subprogram.
|
||||
* sem_util.adb (Is_Internal_Block): New subprogram.
|
||||
|
||||
2023-05-26 Piotr Trojanek <trojanek@adacore.com>
|
||||
|
||||
* sem_util.adb (Gather_Components): Remove guard for empty list of
|
||||
components.
|
||||
|
||||
2023-05-26 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* back_end.adb (Call_Back_End): Add gigi_standard_address to the
|
||||
signature of the gigi procedure and alphabetize other parameters.
|
||||
Pass Standard_Address as actual parameter for it.
|
||||
* cstand.adb (Create_Standard): Do not set Is_Descendant_Of_Address
|
||||
on Standard_Address.
|
||||
* gcc-interface/gigi.h (gigi): Add a standard_address parameter and
|
||||
alphabetize others.
|
||||
* gcc-interface/trans.cc (gigi): Likewise. Record a builtin address
|
||||
type and save it as the type for Standard.Address.
|
||||
|
||||
2023-05-26 Ghjuvan Lacambre <lacambre@adacore.com>
|
||||
|
||||
* exp_disp.adb (Expand_Dispatching_Call): Handle new Controlling_Tag.
|
||||
* sem_scil.adb (Check_SCIL_Node): Treat N_Object_Renaming_Declaration as
|
||||
N_Object_Declaration.
|
||||
|
||||
2023-05-26 Piotr Trojanek <trojanek@adacore.com>
|
||||
|
||||
* exp_aggr.adb
|
||||
(Build_Constrained_Type): Remove local constants that were shadowing
|
||||
equivalent global constants; replace a wrapper that calls
|
||||
Make_Integer_Literal with a numeric literal; remove explicit
|
||||
Aliased_Present parameter which is equivalent to the default value.
|
||||
(Check_Bounds): Remove unused initial value.
|
||||
(Expand_Array_Aggregate): Use aggregate type from the context.
|
||||
|
||||
2023-05-26 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* einfo.ads (Delay_Cleanups): Document new usage.
|
||||
* exp_ch7.ads (Build_Finalizer): New declaration.
|
||||
* exp_ch7.adb (Build_Finalizer.Process_Declarations): Do not treat
|
||||
library-level package instantiations specially.
|
||||
(Build_Finalizer): Return early for package bodies and specs that
|
||||
are not compilation units instead of using a more convoluted test.
|
||||
(Expand_N_Package_Body): Do not build a finalizer if Delay_Cleanups
|
||||
is set on the defining entity.
|
||||
(Expand_N_Package_Declaration): Likewise.
|
||||
* inline.ads (Pending_Body_Info): Reorder and add Fin_Scop.
|
||||
(Add_Pending_Instantiation): Add Fin_Scop parameter.
|
||||
* inline.adb (Add_Pending_Instantiation): Likewise and copy it into
|
||||
the Pending_Body_Info appended to Pending_Instantiations.
|
||||
(Add_Scope_To_Clean): Change parameter name to Scop and remove now
|
||||
irrelevant processing.
|
||||
(Cleanup_Scopes): Deal with scopes that are package specs or bodies.
|
||||
(Instantiate_Body): For package instantiations, deal specially with
|
||||
scopes that are package bodies and with scopes that are dynamic.
|
||||
Pass the resulting scope to Add_Scope_To_Clean directly.
|
||||
* sem_ch12.adb (Analyze_Package_Instantiation): In the case where a
|
||||
body is needed, compute the enclosing finalization scope and pass it
|
||||
in the call to Add_Pending_Instantiation.
|
||||
(Inline_Instance_Body): Adjust aggregate passed in the calls to
|
||||
Instantiate_Package_Body.
|
||||
(Load_Parent_Of_Generic): Likewise.
|
||||
|
||||
2023-05-26 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* sem_util.adb (Compile_Time_Constraint_Error): Test the Ekind.
|
||||
|
||||
2023-05-26 Piotr Trojanek <trojanek@adacore.com>
|
||||
|
||||
* exp_aggr.adb (Build_Constrained_Type): Use List_Length to count
|
||||
expressions in consecutive subaggregates.
|
||||
|
||||
2023-05-26 Doug Rupp <rupp@adacore.com>
|
||||
|
||||
* libgnarl/s-osinte__qnx.ads (sigset_t): Modify
|
||||
declaration to use system.os_constants computed
|
||||
value. Align it.
|
||||
|
||||
2023-05-26 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* exp_sel.adb: Add clauses for Sem_Util, remove them for Opt, Sinfo
|
||||
and Sinfo.Nodes.
|
||||
(Build_K): Always use 'Tag of the object.
|
||||
(Build_S_Assignment): Likewise.
|
||||
|
||||
2023-05-26 Piotr Trojanek <trojanek@adacore.com>
|
||||
|
||||
* accessibility.adb
|
||||
(Is_Formal_Of_Current_Function): This routine expects an entity
|
||||
reference and not the entity itself, so its parameter is a Node_Id
|
||||
and not an Entity_Id.
|
||||
|
||||
2023-05-26 Piotr Trojanek <trojanek@adacore.com>
|
||||
|
||||
* exp_aggr.adb
|
||||
(Build_Array_Aggr_Code): Change variable to constant.
|
||||
(Check_Same_Aggr_Bounds): Fix style; remove unused initial value.
|
||||
|
||||
2023-05-26 Ronan Desplanques <desplanques@adacore.com>
|
||||
|
||||
* sem_ch6.adb (Analyze_Subprogram_Body_Helper): Create extra formals
|
||||
in more situations.
|
||||
|
||||
2023-05-26 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* checks.adb (Selected_Range_Checks): Add guards to protect calls
|
||||
to Expr_Value on bounds.
|
||||
|
||||
2023-05-26 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* sem_eval.ads (Is_Null_Range): Remove requirements of compile-time
|
||||
known bounds and add WARNING line.
|
||||
(Not_Null_Range): Remove requirements of compile-time known bounds.
|
||||
* sem_eval.adb (Is_Null_Range): Fall back to Compile_Time_Compare.
|
||||
(Not_Null_Range): Likewise.
|
||||
* fe.h (Is_Null_Range): New predicate.
|
||||
|
||||
2023-05-25 Javier Miranda <miranda@adacore.com>
|
||||
|
||||
* sem_aggr.adb
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
2023-05-26 Martin Uecker <uecker@tugraz.at>
|
||||
|
||||
* c-attribs.cc (build_attr_access_from_parms): Split loop to first
|
||||
record all parameters.
|
||||
|
||||
2023-05-18 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
|
||||
|
||||
* c-ada-spec.cc (has_static_fields): Use _P() defines from tree.h.
|
||||
|
|
|
@ -1,3 +1,39 @@
|
|||
2023-05-26 Tobias Burnus <tobias@codesourcery.com>
|
||||
|
||||
* dump-parse-tree.cc (show_omp_namelist): Update allocator, fix
|
||||
align dump.
|
||||
(show_omp_node, show_code_node): Handle EXEC_OMP_ALLOCATE.
|
||||
* gfortran.h (enum gfc_statement): Add ST_OMP_ALLOCATE and ..._EXEC.
|
||||
(enum gfc_exec_op): Add EXEC_OMP_ALLOCATE.
|
||||
(struct gfc_omp_namelist): Add 'allocator' to 'u2' union.
|
||||
(struct gfc_namespace): Add omp_allocate.
|
||||
(gfc_resolve_omp_allocate): New.
|
||||
* match.cc (gfc_free_omp_namelist): Free 'u2.allocator'.
|
||||
* match.h (gfc_match_omp_allocate, gfc_match_omp_allocators): New.
|
||||
* openmp.cc (gfc_omp_directives): Uncomment allocate/allocators.
|
||||
(gfc_match_omp_variable_list): Add bool arg for
|
||||
rejecting listening common-block vars separately.
|
||||
(gfc_match_omp_clauses): Update for u2.allocators.
|
||||
(OMP_ALLOCATORS_CLAUSES, gfc_match_omp_allocate,
|
||||
gfc_match_omp_allocators, is_predefined_allocator,
|
||||
gfc_resolve_omp_allocate): New.
|
||||
(resolve_omp_clauses): Update 'allocate' clause checks.
|
||||
(omp_code_to_statement, gfc_resolve_omp_directive): Handle
|
||||
OMP ALLOCATE/ALLOCATORS.
|
||||
* parse.cc (in_exec_part): New global var.
|
||||
(check_omp_allocate_stmt, parse_openmp_allocate_block): New.
|
||||
(decode_omp_directive, case_exec_markers, case_omp_decl,
|
||||
gfc_ascii_statement, parse_omp_structured_block): Handle
|
||||
OMP allocate/allocators.
|
||||
(verify_st_order, parse_executable): Set in_exec_part.
|
||||
* resolve.cc (gfc_resolve_blocks, resolve_codes): Handle
|
||||
allocate/allocators.
|
||||
* st.cc (gfc_free_statement): Likewise.
|
||||
* trans.cc (trans_code): Likewise.
|
||||
* trans-openmp.cc (gfc_trans_omp_directive): Likewise.
|
||||
(gfc_trans_omp_clauses, gfc_split_omp_clauses): Update for
|
||||
u2.allocator, fix for u.align.
|
||||
|
||||
2023-05-24 Harald Anlauf <anlauf@gmx.de>
|
||||
|
||||
PR fortran/104350
|
||||
|
|
|
@ -1,3 +1,88 @@
|
|||
2023-05-26 Martin Uecker <uecker@tugraz.at>
|
||||
|
||||
* gcc.dg/pr109970.c: New test.
|
||||
|
||||
2023-05-26 Robin Dapp <rdapp@ventanamicro.com>
|
||||
|
||||
* gcc.target/riscv/rvv/rvv.exp: Add unop tests.
|
||||
* gcc.target/riscv/rvv/autovec/unop/abs-run.c: New test.
|
||||
* gcc.target/riscv/rvv/autovec/unop/abs-rv32gcv.c: New test.
|
||||
* gcc.target/riscv/rvv/autovec/unop/abs-rv64gcv.c: New test.
|
||||
* gcc.target/riscv/rvv/autovec/unop/abs-template.h: New test.
|
||||
* gcc.target/riscv/rvv/autovec/unop/vneg-run.c: New test.
|
||||
* gcc.target/riscv/rvv/autovec/unop/vneg-rv32gcv.c: New test.
|
||||
* gcc.target/riscv/rvv/autovec/unop/vneg-rv64gcv.c: New test.
|
||||
* gcc.target/riscv/rvv/autovec/unop/vneg-template.h: New test.
|
||||
* gcc.target/riscv/rvv/autovec/unop/vnot-run.c: New test.
|
||||
* gcc.target/riscv/rvv/autovec/unop/vnot-rv32gcv.c: New test.
|
||||
* gcc.target/riscv/rvv/autovec/unop/vnot-rv64gcv.c: New test.
|
||||
* gcc.target/riscv/rvv/autovec/unop/vnot-template.h: New test.
|
||||
|
||||
2023-05-26 Robin Dapp <rdapp@ventanamicro.com>
|
||||
Juzhe Zhong <juzhe.zhong@rivai.ai>
|
||||
|
||||
* gcc.target/riscv/rvv/autovec/binop/shift-rv32gcv.c: Adjust
|
||||
expectation.
|
||||
* gcc.target/riscv/rvv/autovec/binop/shift-rv64gcv.c: Dito.
|
||||
* gcc.target/riscv/rvv/autovec/binop/vdiv-run.c: Dito.
|
||||
* gcc.target/riscv/rvv/autovec/binop/vdiv-rv32gcv.c: Dito.
|
||||
* gcc.target/riscv/rvv/autovec/binop/vdiv-rv64gcv.c: Dito.
|
||||
* gcc.target/riscv/rvv/autovec/binop/vdiv-template.h: Dito.
|
||||
* gcc.target/riscv/rvv/autovec/binop/vrem-rv32gcv.c: Dito.
|
||||
* gcc.target/riscv/rvv/autovec/binop/vrem-rv64gcv.c: Dito.
|
||||
* gcc.target/riscv/rvv/autovec/zve32f_zvl128b-2.c: Dito.
|
||||
* gcc.target/riscv/rvv/autovec/zve32x_zvl128b-2.c: Dito.
|
||||
* gcc.target/riscv/rvv/autovec/zve64d-2.c: Dito.
|
||||
* gcc.target/riscv/rvv/autovec/zve64f-2.c: Dito.
|
||||
* gcc.target/riscv/rvv/autovec/zve64x-2.c: Dito.
|
||||
* gcc.target/riscv/rvv/rvv.exp: Add new conversion tests.
|
||||
* gcc.target/riscv/rvv/vsetvl/avl_single-38.c: Do not vectorize.
|
||||
* gcc.target/riscv/rvv/vsetvl/avl_single-47.c: Dito.
|
||||
* gcc.target/riscv/rvv/vsetvl/avl_single-48.c: Dito.
|
||||
* gcc.target/riscv/rvv/vsetvl/avl_single-49.c: Dito.
|
||||
* gcc.target/riscv/rvv/vsetvl/imm_switch-8.c: Dito.
|
||||
* gcc.target/riscv/rvv/autovec/conversions/vncvt-run.c: New test.
|
||||
* gcc.target/riscv/rvv/autovec/conversions/vncvt-rv32gcv.c: New test.
|
||||
* gcc.target/riscv/rvv/autovec/conversions/vncvt-rv64gcv.c: New test.
|
||||
* gcc.target/riscv/rvv/autovec/conversions/vncvt-template.h: New test.
|
||||
* gcc.target/riscv/rvv/autovec/conversions/vsext-run.c: New test.
|
||||
* gcc.target/riscv/rvv/autovec/conversions/vsext-rv32gcv.c: New test.
|
||||
* gcc.target/riscv/rvv/autovec/conversions/vsext-rv64gcv.c: New test.
|
||||
* gcc.target/riscv/rvv/autovec/conversions/vsext-template.h: New test.
|
||||
* gcc.target/riscv/rvv/autovec/conversions/vzext-run.c: New test.
|
||||
* gcc.target/riscv/rvv/autovec/conversions/vzext-rv32gcv.c: New test.
|
||||
* gcc.target/riscv/rvv/autovec/conversions/vzext-rv64gcv.c: New test.
|
||||
* gcc.target/riscv/rvv/autovec/conversions/vzext-template.h: New test.
|
||||
|
||||
2023-05-26 Tobias Burnus <tobias@codesourcery.com>
|
||||
|
||||
* gfortran.dg/gomp/allocate-2.f90: Update dg-error.
|
||||
* gfortran.dg/gomp/allocate-4.f90: New test.
|
||||
* gfortran.dg/gomp/allocate-5.f90: New test.
|
||||
* gfortran.dg/gomp/allocate-6.f90: New test.
|
||||
* gfortran.dg/gomp/allocate-7.f90: New test.
|
||||
* gfortran.dg/gomp/allocators-1.f90: New test.
|
||||
* gfortran.dg/gomp/allocators-2.f90: New test.
|
||||
|
||||
2023-05-26 Tobias Burnus <tobias@codesourcery.com>
|
||||
|
||||
* gfortran.dg/gomp/allocate-4.f90: Remove autoadded file.
|
||||
* gfortran.dg/gomp/allocate-5.f90: Likewise.
|
||||
* gfortran.dg/gomp/allocate-6.f90: Likewise.
|
||||
* gfortran.dg/gomp/allocate-7.f90: Likewise.
|
||||
* gfortran.dg/gomp/allocators-1.f90: Likewise.
|
||||
* gfortran.dg/gomp/allocators-2.f90: Likewise.
|
||||
|
||||
2023-05-26 Andrew Stubbs <ams@codesourcery.com>
|
||||
Tobias Burnus <tobias@codesourcery.com>
|
||||
|
||||
* gfortran.dg/gomp/allocate-4.f90: New file.
|
||||
* gfortran.dg/gomp/allocate-5.f90: New file.
|
||||
* gfortran.dg/gomp/allocate-6.f90: New file.
|
||||
* gfortran.dg/gomp/allocate-7.f90: New file.
|
||||
* gfortran.dg/gomp/allocators-1.f90: New file.
|
||||
* gfortran.dg/gomp/allocators-2.f90: New file.
|
||||
|
||||
2023-05-25 Dimitar Dimitrov <dimitar@dinux.eu>
|
||||
|
||||
* gcc.dg/nested-vla-1.c: Require effective target trampolines.
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2023-05-26 Tobias Burnus <tobias@codesourcery.com>
|
||||
|
||||
* testsuite/libgomp.fortran/allocate-4.f90: Update dg-error.
|
||||
|
||||
2023-05-21 Tobias Burnus <tobias@codesourcery.com>
|
||||
|
||||
PR libgomp/109875
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
2023-05-26 Matthias Kretz <m.kretz@gsi.de>
|
||||
|
||||
* include/experimental/bits/simd_ppc.h (_S_bit_shift_left):
|
||||
Negative __y is UB, so prefer signed compare.
|
||||
|
||||
2023-05-25 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* testsuite/util/testsuite_allocator.h (PointerBase): Add
|
||||
|
|
Loading…
Add table
Reference in a new issue